Skip to content

Commit

Permalink
fix: Don't warn about deep entrypoint subdirectories not being recogn…
Browse files Browse the repository at this point in the history
…ized
  • Loading branch information
aklinker1 committed Sep 19, 2023
1 parent 419fab8 commit 87e8df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/build/findEntrypoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ const PATH_GLOB_TO_TYPE_MAP: Record<string, Entrypoint['type'] | 'ignored'> = {
[`*.${CSS_EXTENSIONS_PATTERN}`]: 'unlisted-style',
[`*/index.${CSS_EXTENSIONS_PATTERN}`]: 'unlisted-style',

// Don't warn about any files in subdirectories, like CSS or JS entrypoints for HTML files
'*/*': 'ignored',
// Don't warn about any files in subdirectories, like CSS or JS entrypoints for HTML files or tests
'*/**': 'ignored',
};

const CONTENT_SCRIPT_OUT_DIR = 'content-scripts';

0 comments on commit 87e8df9

Please sign in to comment.