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:
parent
b8bd24d938
commit
d67963f14a
1 changed files with 2 additions and 2 deletions
|
@ -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": {
|
||||||
|
|
Loading…
Reference in a new issue