1- // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
1+ // Rstest Snapshot v1
22
33exports [` Should compose create Rsbuild config correctly > Merge Rsbuild config in each format 1` ] = `
44[
@@ -15,6 +15,16 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
1515 },
1616 " externals" : [
1717 [Function ],
18+ / \\^ @rsbuild \\\\/ core\\ (\\ $ \\ | \\\\ /\\ | \\\\\\\\\\ )/ ,
19+ / \\ ^ rsbuild-plugin-dts\\ (\\ $ \\ | \\\\ /\\ | \\\\\\\\\\ )/ ,
20+ / \\ ^ tinyglobby\\ (\\ $ \\ | \\\\ /\\ | \\\\\\\\\\ )/ ,
21+ / \\^ @microsoft \\\\/ api-extractor\\ (\\ $ \\ | \\\\ /\\ | \\\\\\\\\\ )/ ,
22+ / \\ ^ typescript\\ (\\ $ \\ | \\\\ /\\ | \\\\\\\\\\ )/ ,
23+ " @rsbuild/core" ,
24+ " rsbuild-plugin-dts" ,
25+ " tinyglobby" ,
26+ " @microsoft/api-extractor" ,
27+ " typescript" ,
1828 " assert" ,
1929 " assert/strict" ,
2030 " async_hooks" ,
@@ -73,7 +83,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
7383 " pnpapi" ,
7484 ],
7585 " filename" : {
76- " js" : " [name].mjs " ,
86+ " js" : " [name].js " ,
7787 },
7888 " filenameHash" : false ,
7989 " minify" : {
@@ -264,6 +274,16 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
264274 " jsAsync" : " ./" ,
265275 },
266276 " externals" : [
277+ / \\^ @rsbuild \\\\/ core\\ (\\ $ \\ | \\\\ /\\ | \\\\\\\\\\ )/ ,
278+ / \\ ^ rsbuild-plugin-dts\\ (\\ $ \\ | \\\\ /\\ | \\\\\\\\\\ )/ ,
279+ / \\ ^ tinyglobby\\ (\\ $ \\ | \\\\ /\\ | \\\\\\\\\\ )/ ,
280+ / \\^ @microsoft \\\\/ api-extractor\\ (\\ $ \\ | \\\\ /\\ | \\\\\\\\\\ )/ ,
281+ / \\ ^ typescript\\ (\\ $ \\ | \\\\ /\\ | \\\\\\\\\\ )/ ,
282+ " @rsbuild/core" ,
283+ " rsbuild-plugin-dts" ,
284+ " tinyglobby" ,
285+ " @microsoft/api-extractor" ,
286+ " typescript" ,
267287 " assert" ,
268288 " assert/strict" ,
269289 " async_hooks" ,
@@ -322,7 +342,7 @@ exports[`Should compose create Rsbuild config correctly > Merge Rsbuild config i
322342 " pnpapi" ,
323343 ],
324344 " filename" : {
325- " js" : " [name].js " ,
345+ " js" : " [name].cjs " ,
326346 },
327347 " filenameHash" : false ,
328348 " minify" : {
0 commit comments