22 lines
No EOL
511 B
JavaScript
22 lines
No EOL
511 B
JavaScript
const path = require("path");
|
|
const webpack = require("webpack")
|
|
const WebpackNotifierPlugin = require("webpack-notifier")
|
|
const merge = require('webpack-merge');
|
|
const common = require('./webpack.common.js');
|
|
|
|
module.exports = merge(common, {
|
|
output: {
|
|
pathinfo: true
|
|
},
|
|
cache: true,
|
|
devtool: "eval",
|
|
plugins: [
|
|
new WebpackNotifierPlugin(),
|
|
new webpack.DefinePlugin({
|
|
ENV: JSON.stringify("development"),
|
|
}),
|
|
new webpack.LoaderOptionsPlugin({
|
|
debug: true
|
|
})
|
|
]
|
|
}); |