1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activestorage/app/assets/javascripts
David Heinemeier Hansson 6c96e1cd7b
Move Active Storage JS to ESM and drop Babel transpiling (#42895)
* Move to ESM and drop Babel transpiling

* Make the activestorage JS directly available through the asset pipeline as a precompiled asset

* Use example with direct attachment

* Explain that direct reference is possible

* Active Storage JS is a module

* Retain umd asset for backwards compatibility, add ESM file in addition

* Explain how to use activestorage.esm with importmap

* Use untranspiled activestorage inclusion

* Don't repeat terser options
2021-07-28 15:17:13 -04:00
..
.gitattributes Add gitattributes for vendored and generated files [ci-skip] 2020-10-04 16:44:37 -05:00
activestorage.esm.js Move Active Storage JS to ESM and drop Babel transpiling (#42895) 2021-07-28 15:17:13 -04:00
activestorage.js Move Active Storage JS to ESM and drop Babel transpiling (#42895) 2021-07-28 15:17:13 -04:00