mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 14:08:41 -09:00
webpack: ignore electron, fix optimization
This commit is contained in:
parent
b6990f7543
commit
98e45a500f
1 changed files with 5 additions and 4 deletions
|
|
@ -28,9 +28,10 @@ module.exports = {
|
||||||
test: /\.css$/,
|
test: /\.css$/,
|
||||||
loader: 'style-loader!css-loader'
|
loader: 'style-loader!css-loader'
|
||||||
}
|
}
|
||||||
],
|
|
||||||
plugins: [
|
|
||||||
new webpack.optimize.OccurrenceOrderPlugin()
|
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
plugins: [
|
||||||
|
new webpack.optimize.OccurrenceOrderPlugin(),
|
||||||
|
new webpack.ExternalsPlugin('commonjs', ['electron'])
|
||||||
|
]
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue