mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-03 04:54:43 +00:00
optimize build time
This commit is contained in:
parent
b742be9cad
commit
fc8f962117
2 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import merge from 'webpack-merge';
|
||||
import ExtractTextPlugin from 'extract-text-webpack-plugin';
|
||||
|
||||
import prodConfig from './prod-lib';
|
||||
|
||||
const devConfig = merge(prodConfig, {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Object.keys(baseWebpackConfig.entry).forEach((name) => {
|
|||
});
|
||||
|
||||
export default merge(baseWebpackConfig, {
|
||||
devtool: '#inline-source-map',
|
||||
devtool: 'source-map',
|
||||
plugins: [
|
||||
new webpack.WatchIgnorePlugin([config.nodePath]),
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue