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

Fix actiontext js not pointing to compiled file

This caused issues with bundlers like Webpack since it tries to strictly
follow the ESM spec which says that imports must include file
extensions.
This commit is contained in:
Hartley McGuire 2022-06-20 12:47:20 -04:00
parent b8bd24d938
commit d67963f14a
No known key found for this signature in database
GPG key ID: E823FC1403858A82

View file

@ -2,10 +2,10 @@
"name": "@rails/actiontext", "name": "@rails/actiontext",
"version": "7.1.0-alpha", "version": "7.1.0-alpha",
"description": "Edit and display rich text in Rails applications", "description": "Edit and display rich text in Rails applications",
"main": "app/javascript/actiontext/index.js", "main": "app/assets/javascripts/actiontext.js",
"type": "module", "type": "module",
"files": [ "files": [
"app/javascript/actiontext/*.js" "app/assets/javascripts/*.js"
], ],
"homepage": "https://rubyonrails.org/", "homepage": "https://rubyonrails.org/",
"repository": { "repository": {