wikijs-fork/dev/webpack/webpack.dev.js
2018-01-26 20:22:31 -05:00

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: {}
})