Niklas Mischkulnig
Niklas Mischkulnig
Maybe wrapping isn't even necessary? ```js // x.js let v = await fetch(...); export default "X:" + v; // index.js import x from "./x.js"; console.log(x); ``` -> ```js (async function(){...
https://twitter.com/evanwallace/status/1354688403925733377 https://github.com/evanw/esbuild/issues/253#issuecomment-768842454 https://github.com/tc39/proposal-top-level-await/issues/2 https://v8.dev/features/top-level-await https://github.com/evanw/tla-fuzzer
@danieltroger https://github.com/parcel-bundler/parcel/issues/5761#issuecomment-772519537 Two big problems with that: 1. all modules (= imports) should be evaluated as parallel as possible 2. With shared bundles, you still need to import something from...
Related: https://twitter.com/bradleymeck/status/1506727720968986633 https://esm-exports-without-eval.glitch.me/ Details the source code for c.mjs exports names: default, hi ```js // a.mjs import './d.mjs'; import * as c from './c.mjs'; export function getNS() { return Object.getOwnPropertyNames(c);...
* **#86737** 👈 (View in Graphite) * **#86865** * **#86875** * `canary` This stack of pull requests is managed by Graphite. Learn more about stacking.
### Merge activity * **Dec 10, 12:47 AM UTC**: @mischnic merged this pull request with [Graphite](https://app.graphite.com/github/pr/vercel/next.js/86737).
This doesn't work unfortunately because tree-shaking actually outputs different import binding names: ```js import { d as path } from "__TURBOPACK_PART__" assert { __turbopack_part__: -7, __turbopack_original__: 'path' }; ```
Superseded by #71704
When I tried it, `.headers()` didn't include the custom RSC headers.
It is indeed similar to #2408, but this time, ```js eval("...//# sourceMappingURL=AttributeMap.js.map\n\n//# sourceURL=webpack://Quill/./node_modules/quill-delta/dist/AttributeMap.js?"); ``` was changed to ```js eval("...sourceURL=webpack://Quill/./node_modules/quill-delta/dist/AttributeMap.js?"); ``` (because `//# sourceMappingURL=AttributeMap.js.map\n\n//# ` was replaced, though it should have...