Skip to content

Commit b1e14e4

Browse files
committed
fix(compiler): ignore config files in compiler
1 parent d8ea06c commit b1e14e4

File tree

1 file changed

+6
-0
lines changed
  • packages/@intlayer/config/src/defaultValues

1 file changed

+6
-0
lines changed

packages/@intlayer/config/src/defaultValues/build.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ export const OPTIMIZE = undefined;
55
export const TRAVERSE_PATTERN = [
66
'**/*.{tsx,ts,js,mjs,cjs,jsx,vue,svelte,svte}',
77
'!**/node_modules/**',
8+
'!**/*.config.*',
9+
'!**/*.test.*',
10+
'!**/*.spec.*',
11+
'!**/*.stories.*',
12+
'!**/*.d.ts',
13+
'!**/*.d.ts.map',
814
];
915

1016
export const OUTPUT_FORMAT: ('cjs' | 'esm')[] = ['esm', 'cjs'];

0 commit comments

Comments
 (0)