You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah this is a pain point for me too. I tried to fix part of the problem the other day but it turned out to be a less trivial fix than I imagined.
There are (at least?) three things that need to happen:
Source and test files should be transpiled to ES6 in one go. At the moment, test files are bundled and then transpiled - I forget the reason. (This is also why we're using es6-transpiler for that step - 6to5 babel is excruciatingly slow with large files, but es6-transpiler has certain limitations so I'd rather remove it)
Ditto for sorcery if that's possible (I suspect it may not be - it's not possible to state that if a file has unchanged, its sources are also unchanged, I opened an issue for it anyway Cache analysis Rich-Harris/sorcery#2). There may be other performance optimisations for sorcery (or vlq, which does the sourcemap en/decoding) that I haven't yet investigated
Doesn't look like much single file benefit, rebuild times are high(er) than first build. Also appears to get progressively worse longer it runs.
Single file change:
Compare to initial gobble:
The text was updated successfully, but these errors were encountered: