Skip to content

Commit

Permalink
Mark .ts files as entrypoints inside Next.js app dir (#257)
Browse files Browse the repository at this point in the history
* Mark .ts files as entrypoints inside Next.js app dir

* Replace duplicate ts extension with jsx

* Remove unnecessary jsx extension
  • Loading branch information
Dremora authored Sep 24, 2023
1 parent 799bc4b commit 16f16ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/next/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const ENTRY_FILE_PATTERNS = ['next.config.{js,ts,cjs,mjs}'];
const productionEntryFilePatternsWithoutSrc = [
'middleware.{js,ts}',
'app/**/route.{js,ts}',
'app/**/{error,layout,loading,not-found,page,template}.{js,jsx,tsx}',
'app/**/{error,layout,loading,not-found,page,template}.{js,jsx,ts,tsx}',
'instrumentation.{js,ts}',
'app/{manifest,sitemap,robots}.{js,ts}',
'app/**/{icon,apple-icon}-image.{js,ts,tsx}',
Expand Down

0 comments on commit 16f16ae

Please sign in to comment.