Skip to content

Commit

Permalink
Fix missing addon main file
Browse files Browse the repository at this point in the history
  • Loading branch information
mkszepp committed Sep 20, 2024
1 parent 8ba0971 commit bdb02d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions addon/addon-main.cjs
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
'use strict';

const { addonV1Shim } = require('@embroider/addon-shim');
module.exports = addonV1Shim(__dirname);
4 changes: 2 additions & 2 deletions addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"./modifiers/*": "./dist/modifiers/*.js",
"./services/*": "./dist/services/*.js",
"./test-support": "./dist/test-support/index.js",
"./addon-main.js": "./addon-main.js"
"./addon-main.js": "./addon-main.cjs"
},
"typesVersions": {
"*": {
Expand All @@ -36,7 +36,7 @@
}
},
"files": [
"addon-main.js",
"addon-main.cjs",
"declarations",
"dist"
],
Expand Down

0 comments on commit bdb02d9

Please sign in to comment.