mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-03-17 06:20:29 +00:00
15 lines
353 B
JavaScript
15 lines
353 B
JavaScript
import merge from 'webpack-merge';
|
|
import ExtractTextPlugin from 'extract-text-webpack-plugin';
|
|
import prodConfig from './prod-lib';
|
|
|
|
const devConfig = merge(prodConfig, {
|
|
output: {
|
|
filename: '[name].debug.js'
|
|
},
|
|
devtool: 'source-map',
|
|
plugins: []
|
|
});
|
|
|
|
devConfig.plugins.push(new ExtractTextPlugin('[name].css'));
|
|
|
|
export default devConfig;
|