Skip to content

Commit d67963f

Browse files
committed
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.
1 parent b8bd24d commit d67963f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actiontext/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "@rails/actiontext",
33
"version": "7.1.0-alpha",
44
"description": "Edit and display rich text in Rails applications",
5-
"main": "app/javascript/actiontext/index.js",
5+
"main": "app/assets/javascripts/actiontext.js",
66
"type": "module",
77
"files": [
8-
"app/javascript/actiontext/*.js"
8+
"app/assets/javascripts/*.js"
99
],
1010
"homepage": "https://rubyonrails.org/",
1111
"repository": {

0 commit comments

Comments
 (0)