feat(webpack): create basic production and dev config
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
const path = require('path');
|
||||
const webpackMerge = require('webpack-merge');
|
||||
const commonConfig = require('./webpack.common.js');
|
||||
|
||||
module.exports = webpackMerge(commonConfig, {
|
||||
// devtool: 'cheap-module-source-map',
|
||||
mode: 'development',
|
||||
devServer: {
|
||||
contentBase: path.join(__dirname, '.tmp'),
|
||||
compress: true,
|
||||
port: 90000
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user