@WebStormIDE an Alt+Enter option that converts
`import assert from 'assert‘;`
to
`const assert = require('assert');`
and back would be awesome
-
-
Replying to @wolframkriesing
Only have an opposite action that converts require statements into the ES6 imports. Do you convert imports to require often?
1 reply 0 retweets 0 likes -
Replying to @WebStormIDE
mmmh, currently it depends on the project. But sometimes I do, yeah ... often? Can't tell really ;) sorry
1 reply 0 retweets 0 likes
Replying to @wolframkriesing
Our idea was that for the client-side apps you might only need require -> import and now with the ESM same will apply to the node apps :)
4:16 AM - 27 Nov 2017
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.