We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85d7b04 commit 0c2395aCopy full SHA for 0c2395a
package.json
@@ -15,6 +15,10 @@
15
"#src/*": "./src/*"
16
},
17
"exports": {
18
+ ".": {
19
+ "types": "./declarations/index.d.ts",
20
+ "default": "./dist/index.js"
21
+ },
22
"./addon-main.js": "./addon-main.cjs",
23
"./*": {
24
"types": "./declarations/*.d.ts",
rollup.config.mjs
@@ -60,6 +60,7 @@ export default [
60
// is aligned to the config here.
61
// See https://github.com/embroider-build/embroider/blob/main/docs/v2-faq.md#how-can-i-define-the-public-exports-of-my-addon
62
addon.publicEntrypoints([
63
+ 'index.js',
64
'config.js',
65
'styles.js',
66
'components/**/*.js',
src/index.ts
0 commit comments