rails/importmap-rails
View on GitHub ↗ ★ 1,164 Ruby
Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling.
7 mentions on Hacker News by 7 people: 1 story, 6 comments · first 2021-08-11 · latest 2024-06-25
20082026
-
…only I can get the files in the right shape! The Rails community are leaning into this heavily now: https://github.com/rails/importmap-rails
comment by simonw · 2024-06-25 · in Polyfill supply chain attack hits 100K+ sites -
With importmaps ( https://github.com/rails/importmap-rails ) and Hotwire ( https://hotwired.dev/ ), you write plain js and serve it. Also packages are served via CDN. There is no tree shaking. Rails got rid of the whole bundling step.
comment by bingemaker · 2024-04-17 · in RubyJS-Vite -
importmaps supported in Rails 7 https://github.com/rails/importmap-rails
comment by oleg_antonyan · 2023-02-17 · in Simple Modern JavaScript Using JavaScript Modules and Import Maps -
…(codebase is Typescript/ES6 modules) No luck for you then. Rails doesn't seem to love typescript: https://github.com/rails/importmap-rails/issues/124
comment by azangru · 2022-12-20 · in An Overview Of Upcoming Ruby on Rails 7.1 Features Part 1 -
Links: - YouTube: https://www.youtube.com/watch?v=PtxZvFnL2i0 - Project: https://github.com/rails/importmap-rails/
comment by vvoyer · 2021-08-16 · in Rails 7 is removing Webpack in favor of import maps -
Looks like Rails wants off Webpacker as well https://github.com/rails/importmap-rails
comment by joelbluminator · 2021-08-15 · in Rails 6 with Webpacker 6, Tailwind 2 with JIT, Postcss 8 and some default setup -
▲ 3
Importmap for Rails: Build Rails Applications Without Webpack, Yarn or NPMstory by ksec · 2021-08-11 · 0 comments