Skip to content

is it compatible with webpack 4 #11

@no-more

Description

@no-more

Hello,

This is my first attempt to use this loader but I can't make it work.
I do have NODE_ENV set but still not working

	console.log("process.env.NODE_ENV", process.env.NODE_ENV); // -> development
	// #endif
	// #if process.env.NODE_ENV === 'production'
	console.log("production Application started"); // is printed to console
	// #endif
	// #if ENV === 'development'
	console.log("development Application started"); // is printed to console
	// #endif

Both log are printed to console

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions