Skip to content

Commit 6799e3b

Browse files
Ercilansonofmagic
authored andcommitted
chore: update snapshot
1 parent 19a1973 commit 6799e3b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/vast-sheep-switch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tailwindcss-mangle/config": minor
3+
---
4+
5+
refine js-related file extension matching

packages/config/test/__snapshots__/defaults.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ exports[`defaults > getDefaultUserConfig 1`] = `
3939
"sources": {
4040
"exclude": [],
4141
"include": [
42-
"/\\.(html|js|ts|jsx|tsx|vue|svelte|astro|elm|php|phtml|mdx|md)(?:$|\\?)/",
42+
"/\\.(html|js|cjs|mjs|ts|cts|mts|jsx|tsx|vue|svelte|astro|elm|php|phtml|mdx|md)(?:$|\\?)/",
4343
"/\\.(css|less|sass|scss|styl|stylus|pcss|postcss|sss)(?:$|\\?)/",
4444
],
4545
},

packages/config/test/__snapshots__/index.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ exports[`config > 2.transformer-options 1`] = `
3333
"sources": {
3434
"exclude": [],
3535
"include": [
36-
"/\\.(html|js|ts|jsx|tsx|vue|svelte|astro|elm|php|phtml|mdx|md)(?:$|\\?)/",
36+
"/\\.(html|js|cjs|mjs|ts|cts|mts|jsx|tsx|vue|svelte|astro|elm|php|phtml|mdx|md)(?:$|\\?)/",
3737
"/\\.(css|less|sass|scss|styl|stylus|pcss|postcss|sss)(?:$|\\?)/",
3838
],
3939
},

0 commit comments

Comments
 (0)