Commit e763dc73 authored by nodegin's avatar nodegin Committed by Naoyuki Kanezawa

Fix #85 (#97)

parent dbc125f7
......@@ -31,6 +31,9 @@ export default async function createCompiler (dir, { hotReload = false } = {}) {
const nodeModulesDir = join(__dirname, '..', '..', '..', 'node_modules')
const plugins = [
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify('production')
}),
new WriteFilePlugin({
exitOnErrors: false,
log: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment