#Javascript seems like such a fucking mess when the way you're importing libraries can somehow vary for wtv reason??? I also can never quite comprehend wth's an #ESM or #CommonJS
#Javascript seems like such a fucking mess when the way you're importing libraries can somehow vary for wtv reason??? I also can never quite comprehend wth's an #ESM or #CommonJS
#Development #Evolutions
Move on to ESM-only · What this means for JavaScript/TypeScript developers https://ilo.im/16275k
_____
#Packages #Npm #ESM #CJS #Tooling #JavaScript #TypeScript #NextJS #WebDev #Backend
#Development #Overviews
The state of WebAssembly 2024/2025 · Improvements inside and outside the browsers https://ilo.im/1629ke
_____
#Programming #WebAssembly #WASM #WASI #ESM #JavaScript #Browser #WebDev #Frontend #Backend
Move to #ESM-only for modern #JavaScript development!
Pleased to meet @pierregramegna. The European Stability Mechanism plays an essential role as the euro-area fiscal backstop.
We discussed market developments and I took note of the stable economic and financial outlook for the euro-area.
#ESM
---
https://nitter.privacydev.net/eucopresident/status/1881329470021525833#m
@tolmasky the amount of times I had to learn what is #CommonJS and what is #ESM to then forget it and get bitten again when I come to #JS is bleak in comparison, I'm sure, but it made me make a video (mostly for myself) to later watch: https://www.youtube.com/watch?v=SIows5N4BAY
Wrote a post with more shenanigans to avoid using a bundler when doing web development. https://dev.to/louwers/bundling-without-a-bundler-with-esmsh-497d #JavaScript #ESM #TypeScript
Spent tonight learning #11ty and working on https://www.jameskerrane.com
- Updated to @eleventy v3.0.0!
- Refactored project files to switch from #CommonJS syntax to the newly supported and standardized #ESM modules
- Streamlined how the site handles images
- Started work on moving away from #nunjucks for templates to liquid or something else
- Renamed the repository
The nature of all of these changes is that the site doesn't look different, but the developer experience is cooler!
EU’s moment of truth on Ukraine is fast approaching – POLITICO https://www.byteseu.com/573036/ #AidAndDevelopment #Borders #Budget #Cooperation #Debt #Defense #DonaldTrump #ESM #EURecoveryPlan #EU27 #MarkRutte #Military #NATO #Negotiations #Refugees #Russia #Security #trade #Ukraine #UnitedStates #VladimirPutin #WarInUkraine #Weapons
Some Sunday #JavaScript #ESM geekery.
I know Vite is cool, but with native browser support for ESM, bundlers are getting less relevant. You can make a serious web project like in the good old days serving some files with a file server (the type of website that still works fine 20 years later thanks to browsers' amazing backward compatibility).
Complex packages like Codemirror with transitive dependencies can be an issue, but I found a good workaround with esm.sh. https://discuss.codemirror.net/t/esm-compatible-codemirror-build-directly-importable-in-browser/5933/13
Modern ECMAScript WTF: Do you expect that `export const myObj = 42` is equal to `export default = { myObj: 42 }`? Wrong! `default` is a "special" namespace... #javascript #ecmascript #esm #module
Today I've learned it's actually possible to assign a destructured property to a local variable of the same name.
#javascript #esm
From today, FunctionalScript source code are ES modules. Published on NPM and JSR. https://github.com/functionalscript/functionalscript #functionalscript #npm #jsr #javascript #ecmascript #esm #module
#EFSF #ESM Έγκριση ESM – EFSF για την πρόωρη αποπληρωμή ελληνικού χρέους ύψους 7,935 δισ. ευρώ https://www.zougla.gr/money/agores/egkrisi-esm-efsf-gia-tin-proori-apopliromi-ellinikou-chreous-ypsous-7935-dis-evro/?utm_source=dlvr.it&utm_medium=mastodon
@sodiboo not if they actually have a #ESM #subscription (which I doubt) but yeah, not cool...
#Pack11ty now uses @eleventy v3
Also, the code has been fully rewritten to integrate modern JavaScript features like ECMAScript Modules (aka #ESM), just like #Eleventy.
Both the plugin and the template repository (aka Eleventy Starter) have been updated.
Also, the assets are now processed with a combination of Eleventy's Custom template languages, Render plugin and Bundle plugin.
The documentation will soon be updated accordingly.
#unpopularOpinion ESModules over HTTP are fine and the web doesn't need a bundler or a package manager registry.