is this still true, even for script type=module? 🤯 cc: @chromium.social … can’t for the life of me find the message but thank you to the person at @perfnow.bsky.social who sent this my way ❤️ web.dev/learn/perfor...
Post
I don't think it matters for the web. But does for Node and the like: v8.dev/features/mod...
v8.devJavaScript modules · V8This article explains how to use JavaScript modules, how to deploy them responsibly, and how the Chrome team is working to make modules even better in the future.
And yet oddly written after the doc I linked! @kevinfarrugia.bsky.social did you write web.dev/learn/perfor... ? Got any more info on mjs file extension?
web.devCode-split JavaScript | web.devSome resources are not crucial to a web page's initial load. JavaScript is one such resource that can be deferred until the time of need through a technique known as code splitting. By doing so, y...
Yes I did. After writing the module, we received feedback from the V8 team (including that the doc you linked is outdated). The problem is that it fails silently so it doesn't show up in a trace. Tomorrow I can send you all the info I have as I'm not on my laptop. Cc @kurtextrem.de
Let's see! Happy to stand corrected (at least for more recent versions of chrome/V8, I suppose?)
0 reposts1 like
No replies yet.