Skip to content

Commit

Permalink
🛠 upgrade to electron 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
macisi committed Mar 15, 2018
1 parent d5d213c commit 5953c8b
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 83 deletions.
4 changes: 2 additions & 2 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ module.exports = env => {
'env',
{
targets: {
chrome: 59,
chrome: 61,
},
useBuiltIns: true,
modules: false,
// refer to: https://github.com/gaearon/react-hot-loader/issues/313
include: ['transform-es2015-classes'],
// include: ['transform-es2015-classes'],
},
],
'stage-1',
Expand Down
5 changes: 0 additions & 5 deletions config/webpack.config.main.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ module.exports = {
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production'),
'process.env.DEBUG_PROD': JSON.stringify(process.env.DEBUG_PROD || 'false')
}),
// new UglifyJSPlugin({
// uglifyOptions: {
// ecma: 8,
// },
// }),
],

externals: {
Expand Down
Loading

0 comments on commit 5953c8b

Please sign in to comment.