20 lines
431 B
JavaScript
20 lines
431 B
JavaScript
const webpack = require('webpack')
|
|
const merge = require('webpack-merge')
|
|
|
|
const ExtractTextPlugin = require('extract-text-webpack-plugin')
|
|
|
|
const common = require('./webpack.common.js')
|
|
|
|
module.exports = merge(common, {
|
|
module: {
|
|
rules: []
|
|
},
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
'process.env.NODE_ENV': JSON.stringify('development')
|
|
}),
|
|
new ExtractTextPlugin({ disable: true })
|
|
],
|
|
resolve: {}
|
|
})
|