mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-18 22:48: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$/,
|
||||
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