Joe Bateson
Joe Bateson
@MatrixFrog hey, just wondering if this has been added yet? Trying to transpile es6 code in `WHITESPACE_ONLY` mode and $jscomp is undefined. Alternatively if there's a way to manually inject...
@Dominator008 thanks for the quick response! Would be great if a flag could be added to do this for us (include the runtime during WHITESPACE_ONLY compilation) to simplify things.
@Dominator008 great, we managed to get it working after adding the `--noinject_library=es6_runtime` for `ADVANCED` mode (since otherwise the runtime was being injected twice which caused issues). We also had to...
@MatrixFrog no worries, thanks for looking into this! Just wanted to add the solution we ended up going with in case anyone else runs into the same issue before things...
I just stumbled upon this issue after finding @xiaoxiaojx 's [blog post](https://zhuanlan.zhihu.com/p/604359536) pointing here (thank you!). We started seeing the mismatched module ID/null function export after switching from `runtimeChunk: 'single'`...
Looking at the swc side of things, it seems like the "import() gets transpiled to require()" issue can be fixed by setting `ignoreDynamic` in `.swcrc`: https://swc.rs/docs/configuration/modules#ignoredynamic But unfortunately due to...
Final findings for today, which may indicate a fix for my project (and highlight my configuration mistakes): * Looks like ts-node 10.8.0 [added support for `module: 'node16'`](https://github.com/TypeStrong/ts-node/releases/tag/v10.8.0) to replace `module:...
Something I did during my experiments to get the loader working for `'goog:foo.bar.baz'` style imports (#12) was to enforce start-of-line in the regex, and add the multiline flag: https://github.com/jdb8/closure-loader/commit/3408c009533f0000f88f1ebf0c4b99607468d71c I'm...
Hey @eXaminator, Thanks for responding so quickly. I agree that the purpose of the closure-loader should stay as you've described. However, for anyone who is aiming to transition to a...
Great. This sounds like the approach I started with, so I'm glad to know there shouldn't be any major blockers. Thanks for your help, I'll let you know if there...