🛣️ Ever felt like you're in a maze with Rails asset management?
From the good ol' Sprockets days to the new-age importmaps, it's been quite the ride.
Get the clarity you've been seeking on our blog: https://www.fastruby.io/blog/navigating-asset-management-madness.html?utm_source=Mastodon&utm_medium=Organic&utm_campaign=Blogpromo&utm_term=assetmanagement&utm_content=Graphic&utm_id=
#rails #ruby #rubyonrails #assetmanagement #sprockets #importmaps
#rails #ruby #rubyonrails #assetmanagement #sprockets #importmaps
🚀 Announcing Import Maps CLI v1

A command line tool to help web developers manage Import Maps dependencies.

✅ Easily use, add, update, and delete third-party JavaScript packages as Import Maps
✅ esm.sh CDN integration

Repo, docs & examples:
https://github.com/obetomuniz/im-cli
JavaScript import maps are now supported cross-browser
https://web.dev/import-maps-in-all-modern-browsers/
#ES_Next_News #ECMAScript #JavaScript #ImportMaps
#es_next_news #ecmascript #javascript #importmaps
*Two* blog posts on front page hackernews that discuss frontend development without bundling or transpiling!
Maybe the time has come to #SimplifyJavaScriptDevelopment?
https://kofi.sexy/blog/modern-spas
https://vue-mjs.web-templates.io/blog/javascript
#simplifyjavascriptdevelopment #javascript #importmaps #nobundle #notranspile
@tomw I think you could (???) write modern, modularized #es6 and ship it to the browser now, using #importmaps to direct the browser to where your module files live. I haven't tried it yet, and the support may be limited, but... maybe that's The Future™.
That may eliminate #transpiling, but we still have to deal with concatenation. With updated protocols like #HTTP3, maybe multiple simultaneous connections will be less of a problem?
And then #minification? I dunno man, maybe gzipping on the wire is good enough.
But I feel your pain. I'm hopeful for the future.
#javascript #programming #webdevelopment
Also, I want native #css loops. I think that's the last thing we need #preprocessors for.
I haven't worked with built-in web components, but that could be the answer to the "always a new framework" problem. But if it was, it prolly would have more uptake by now.
I honestly spend to much time thinking about this.
#es6 #importmaps #transpiling #http3 #minification #JavaScript #programming #webdevelopment #css #preprocessors