clean up
This commit is contained in:
parent
dca69dda9c
commit
3960f376dc
|
@ -1,6 +1,7 @@
|
|||
const HtmlWebPackPlugin = require('html-webpack-plugin');
|
||||
|
||||
module.exports = {
|
||||
mode: 'development',
|
||||
resolve: {
|
||||
extensions: ['.js', '.jsx']
|
||||
},
|
||||
|
|
|
@ -3,10 +3,8 @@ const webpack = require('webpack');
|
|||
const path = require('path');
|
||||
const WorkboxWebpackPlugin = require('workbox-webpack-plugin');
|
||||
|
||||
module.exports = env => {
|
||||
const mode = env.mode ? env.mode : "production";
|
||||
return {
|
||||
mode,
|
||||
module.exports = {
|
||||
mode: 'production',
|
||||
entry: {
|
||||
main: './src/index.js'
|
||||
},
|
||||
|
@ -71,5 +69,4 @@ module.exports = env => {
|
|||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue