6

Output Action Cable JS without transpiling and as ESM by dhh · Pull Request #428...

 3 years ago
source link: https://github.com/rails/rails/pull/42856
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Copy link

Member

dhh commented 16 days ago

edited

Let's update all the Rails JS to target ES2017 and ESM, as far as is possible. Will make it easier to use these outputs directly in browsers without bundling, yet still use ESM module. Paves a path to a Webpacker-less default.

Need to consider possible backwards incompatibility issues here. If those turn out to be a blocker, we can produce two separate outputs.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK