mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
stop minifying as it doesn't improve performance significantly
This commit is contained in:
parent
25624494ad
commit
4fdeb59d7e
2 changed files with 1 additions and 5 deletions
|
|
@ -21,7 +21,6 @@
|
||||||
"babel-loader": "6.2.4",
|
"babel-loader": "6.2.4",
|
||||||
"babel-plugin-transform-es2015-modules-commonjs": "6.10.3",
|
"babel-plugin-transform-es2015-modules-commonjs": "6.10.3",
|
||||||
"babel-plugin-transform-react-jsx": "6.8.0",
|
"babel-plugin-transform-react-jsx": "6.8.0",
|
||||||
"babel-preset-es2015": "^6.9.0",
|
|
||||||
"css-loader": "0.23.1",
|
"css-loader": "0.23.1",
|
||||||
"eslint": "2.13.1",
|
"eslint": "2.13.1",
|
||||||
"eslint-config-standard": "5.3.1",
|
"eslint-config-standard": "5.3.1",
|
||||||
|
|
@ -61,10 +60,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"presets": [
|
|
||||||
"es2015"
|
|
||||||
],
|
|
||||||
"plugins": [
|
"plugins": [
|
||||||
|
"transform-es2015-modules-commonjs",
|
||||||
"transform-react-jsx"
|
"transform-react-jsx"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ module.exports = {
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.optimize.OccurrenceOrderPlugin(),
|
new webpack.optimize.OccurrenceOrderPlugin(),
|
||||||
new webpack.ExternalsPlugin('commonjs', ['electron']),
|
new webpack.ExternalsPlugin('commonjs', ['electron']),
|
||||||
new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false } }),
|
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
'process.env': {
|
'process.env': {
|
||||||
'NODE_ENV': JSON.stringify(process.env.NODE_ENV)
|
'NODE_ENV': JSON.stringify(process.env.NODE_ENV)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue