Silence webpack warning by setting mode to production
This commit is contained in:
parent
abedfd7782
commit
884bf1067d
@ -9,6 +9,7 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
context: path.resolve(__dirname, 'src'),
|
context: path.resolve(__dirname, 'src'),
|
||||||
entry: './main.js',
|
entry: './main.js',
|
||||||
|
mode: 'production',
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, 'build'),
|
path: path.resolve(__dirname, 'build'),
|
||||||
},
|
},
|
||||||
@ -49,4 +50,4 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user