Переписываю спорные решения
Фикс отправки отчета, проверка на массив в map в Description.js
This commit is contained in:
23
config/webpack/dev.js
Normal file
23
config/webpack/dev.js
Normal file
@ -0,0 +1,23 @@
|
||||
const paths = require('../paths');
|
||||
|
||||
const webpack = require('webpack');
|
||||
const {merge} = require('webpack-merge');
|
||||
|
||||
const common = require('./common');
|
||||
|
||||
module.exports = merge(common, {
|
||||
target : 'web',
|
||||
mode: 'development',
|
||||
devtool: 'eval-cheap-source-map',
|
||||
|
||||
devServer: {
|
||||
compress: true,
|
||||
static: paths.build,
|
||||
hot: true,
|
||||
historyApiFallback: true,
|
||||
// open: true,
|
||||
port: 3000,
|
||||
|
||||
},
|
||||
plugins: [new webpack.HotModuleReplacementPlugin()]
|
||||
});
|
Reference in New Issue
Block a user