Skip to content

Commit

Permalink
Replaced .js with .ts in publicEntrypoints()
Browse files Browse the repository at this point in the history
  • Loading branch information
ijlee2 committed Sep 5, 2024
1 parent 0d1f746 commit 7f9e574
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/written-guides/set-up-css-modules-v2-addons.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default {
output: addon.output(),

plugins: [
addon.publicEntrypoints(['**/*.js', 'index.js', 'template-registry.js']),
addon.publicEntrypoints(['**/*.js', 'index.ts', 'template-registry.ts']),

addon.appReexports([
'components/**/*.js',
Expand Down Expand Up @@ -131,7 +131,7 @@ export default {
output: addon.output(),

plugins: [
addon.publicEntrypoints(['**/*.js', 'index.js', 'template-registry.js']),
addon.publicEntrypoints(['**/*.js', 'index.ts', 'template-registry.ts']),

addon.appReexports([
'components/**/*.js',
Expand Down Expand Up @@ -564,13 +564,13 @@ module('Integration | Component | navigation-menu', function (hooks) {
</details>
> [!NOTE]
> In `rollup.config.mjs`, don't forget to add `test-support.js` to `addon.publicEntrypoints()`.
> In `rollup.config.mjs`, don't forget to add `test-support.ts` to `addon.publicEntrypoints()`.
>
> ```js
> addon.publicEntrypoints([
> '**/*.js',
> 'index.js',
> 'template-registry.js',
> 'test-support.js',
> 'index.ts',
> 'template-registry.ts',
> 'test-support.ts',
> ]),
> ```

0 comments on commit 7f9e574

Please sign in to comment.