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.
Wouldn't this be impacted by the "type" declaration in package.json too? I'd expect files with a ".js" extension to be optimized appropriately if I set "type" to "module".
0 reposts0 likes
No replies yet.