1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Distribute both ESM and CJS version

And make sure module refers to the ESM version.
This commit is contained in:
David Heinemeier Hansson 2021-12-03 11:12:04 +01:00
parent b6bc552c1f
commit 6c828836c1

View file

@ -2,8 +2,8 @@
"name": "@rails/activestorage",
"version": "7.0.0-alpha2",
"description": "Attach cloud and local files in Rails applications",
"module": "app/assets/javascripts/activestorage.esm.js",
"main": "app/assets/javascripts/activestorage.js",
"type": "module",
"files": [
"app/assets/javascripts/*.js",
"src/*.js"