Sam Nolan

Results 14 comments of Sam Nolan

Yeah, it's likely something to do with tree shaking. As for "something that actually executes code", could you give a specific example? Here's what I tried: ```js // index.mjs export...

The current head of v2 (https://github.com/parcel-bundler/parcel/commit/c9264c4c5429b03d48b2f7699f511266db324c54) exhibits this problem on a fresh build

Interestingly, running `parcel build --no-optimize ./index.html` on the head of v2 returns: ```js var $771420b136e5cd5f$export$2e2bcd8739ae039 = { }; var $85d5af804b8f24f8$export$2e2bcd8739ae039 = $85d5af804b8f24f8$import$5ecbb526cd5c0bbc; //# sourceMappingURL=index.ee61046f.js.map ``` Which is different but still...

Hey! Temporary but interesting fix. Running `parcel build --no-scope-hoist ./index.html` produces a valid result, with much more js.