mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-22 11:43:48 +01:00
Clean up webpack configuration
This commit is contained in:
parent
75ee4529c4
commit
32b8f46f66
@ -8,6 +8,7 @@ module.exports = {
|
||||
filename: 'core.js',
|
||||
publicPath: '',
|
||||
},
|
||||
target: 'web',
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
@ -4,7 +4,6 @@ const common = require('./webpack.common');
|
||||
|
||||
const devConfig = {
|
||||
mode: 'development',
|
||||
target: 'web',
|
||||
plugins: [new HotModuleReplacementPlugin()],
|
||||
devtool: 'eval-source-map'
|
||||
};
|
||||
|
@ -22,8 +22,9 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
},
|
||||
target: 'web',
|
||||
resolve: {
|
||||
extensions: ['.js', '.jsx', '.json'],
|
||||
extensions: ['.js', '.json'],
|
||||
},
|
||||
plugins: [new CleanWebpackPlugin()],
|
||||
};
|
||||
|
@ -10,7 +10,6 @@ const devConfig = {
|
||||
port: 8080,
|
||||
open: true,
|
||||
},
|
||||
target: 'web',
|
||||
plugins: [new HotModuleReplacementPlugin()],
|
||||
devtool: 'eval-source-map',
|
||||
};
|
||||
|
@ -22,6 +22,7 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
},
|
||||
target: 'web',
|
||||
resolve: {
|
||||
extensions: ['.js', '.jsx', '.json'],
|
||||
},
|
||||
|
@ -41,7 +41,6 @@ module.exports = {
|
||||
open: true,
|
||||
},
|
||||
mode: 'development',
|
||||
target: 'web',
|
||||
devtool: 'source-map',
|
||||
module: {
|
||||
rules: [
|
||||
|
Loading…
Reference in New Issue
Block a user