-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade electron to 1.6.8 #1848
Conversation
webpack.config.js
Outdated
@@ -7,7 +7,7 @@ const nodeEnv = process.env.NODE_ENV || 'development'; | |||
const isProd = nodeEnv === 'production'; | |||
|
|||
module.exports = { | |||
devtool: isProd ? 'hidden-source-map' : 'cheap-eval-source-map', | |||
devtool: isProd ? 'hidden-source-map' : 'inline-source-map', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe better to use cheap-module-source-map
regarding to issue in webpack that you linked in this Electron issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do
Done @chabou 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you commit your yarn.lock
? You didn't commit it after pining dependencies.
You're right! I can't reproduce #1738 anymore with this source-map format change. |
This is awesome work! |
Let's merge when the tests are done 😎 |
Looked at #1738 etc, turns out the eval problem was easy to work around (it was because of
cheap-eval-source-map
), with this change source-maps still work 👌 🙌Latest electron uses node 7.4, so we still need the
--harmony-async-await
(right? 🤔 ) for plugin compatibility.Tested on macOS and seems to work as before.
need to check with windows...
This should give some nice memory optimizations etc. 💯