diff --git a/.gitignore b/.gitignore index 68713b1..75dac88 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ package-lock.json .DS_Store monitor build/app.js -build/vendor.js \ No newline at end of file +build/vendor.js +plugin/npm-module/build/app.js \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index b752ebb..0a472e0 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -80,7 +80,7 @@ module.exports = (env) => { filename: 'app.js', }, plugins: [ - new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('data') }), + new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production') }), new WebpackMonitor({ launch: true, capture: false }), ], },