Skip to content

Commit

Permalink
fix(package): addon-main specified incorrect path
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jun 7, 2022
1 parent 7db9f94 commit 61e99ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ember-browser-services/addon-main.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use strict';

const path = require('path');
const { addonV1Shim } = require('@embroider/addon-shim');

module.exports = addonV1Shim(path.dirname(__dirname));
module.exports = addonV1Shim(__dirname);
3 changes: 2 additions & 1 deletion ember-browser-services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
],
"exports": {
".": "./dist/index.js",
"./*": "./dist/*"
"./*": "./dist/*",
"./addon-main.js": "./addon-main.cjs"
},
"typesVersions": {
">=4.0.0": {
Expand Down

0 comments on commit 61e99ab

Please sign in to comment.