forked from Github/ocrcc-chatbox
fix: webpack config (#82)
This commit is contained in:
parent
ca2ff25bd7
commit
23dc317c97
@ -8,7 +8,7 @@ const devMode = process.env.NODE_ENV !== 'production';
|
|||||||
const defaultConfig = {
|
const defaultConfig = {
|
||||||
mode: 'production',
|
mode: 'production',
|
||||||
plugins: [
|
plugins: [
|
||||||
new CleanWebpackPlugin(['dist/']),
|
new CleanWebpackPlugin(),
|
||||||
new MiniCssExtractPlugin({
|
new MiniCssExtractPlugin({
|
||||||
// Options similar to the same options in webpackOptions.output
|
// Options similar to the same options in webpackOptions.output
|
||||||
// both options are optional
|
// both options are optional
|
||||||
|
Loading…
Reference in New Issue
Block a user