set mode: production to silence webpack warning
This commit is contained in:
+7
-6
@@ -1,10 +1,11 @@
|
|||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
target: 'node',
|
target: 'node',
|
||||||
entry: './index.js',
|
entry: './index.js',
|
||||||
output: {
|
mode: 'production',
|
||||||
filename: 'index.js',
|
output: {
|
||||||
path: path.resolve(__dirname, 'dist'),
|
filename: 'index.js',
|
||||||
},
|
path: path.resolve(__dirname, 'dist'),
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user