diff --git a/index.js b/index.js index aaa23b9..80e024a 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ class ExportParserPlugin { constructor() {} apply(parser) { parser.plugin('export', () => { - parser.state.current.addVariable('', '', []); + parser.state.current.addVariable('__webpack_wrapper_plugin__', 'true', []); }); } }