Skip to content

Commit 63eb9f1

Browse files
committed
Emit fewer modules to optimize vite
1 parent a74b4d4 commit 63eb9f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

addon/rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default {
2222
// up your addon's public API. Also make sure your package.json#exports
2323
// is aligned to the config here.
2424
// See https://github.com/embroider-build/embroider/blob/main/docs/v2-faq.md#how-can-i-define-the-public-exports-of-my-addon
25-
addon.publicEntrypoints(['**/*.js', 'index.js', 'template-registry.js']),
25+
addon.publicEntrypoints(['index.js']),
2626

2727
// These are the modules that should get reexported into the traditional
2828
// "app" tree. Things in here should also be in publicEntrypoints above, but

0 commit comments

Comments
 (0)