Skip to content

Some webpack plugins are not run #362

Description

@autra

Description

Some webpack plugin are not used at all when using this plugin. For instance, definePlugin and uglifyJsPlugin don't seem to affect files.

My use case: together, they can perform some dead code elimination on if (DEBUG) statement, allowing me to have a bundle without debug stuff. However, I'm also transpiling each file individually, and those still have the if (__DEBUG__) statements in them.

Reproducing steps

Expected results

The last command yields no result

Actual results

The last command still shows some __DEBUG__ instance in my transpiled code.

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