diff --git a/webpack.config.js b/webpack.config.js index 719ab35..da92528 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -31,6 +31,7 @@ module.exports = env => { filename: "index.js", path: path.resolve(__dirname, "dist"), + globalObject: "this", }, } };