File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
packages/unplugin-tailwindcss-mangle/test Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -602,8 +602,8 @@ exports[`vite build > common build 3`] = `
602
602
<link rel =\\"icon\\" type =\\"image/svg+xml\\" href =\\"/vite.svg\\">
603
603
<meta name =\\"viewport\\" content =\\"width=device-width, initial-scale =1.0\\">
604
604
<title>Vite + TS</title>
605
- <script type =\\"module\\" crossorigin =\\"\\" src =\\"/assets/ index-0391d18b .js\\"></script>
606
- <link rel =\\"stylesheet\\" href =\\"/assets/ index-d80d7913 .css\\">
605
+ <script type =\\"module\\" crossorigin =\\"\\" src =\\"/index.js\\"></script>
606
+ <link rel =\\"stylesheet\\" href =\\"/index.css\\">
607
607
</head>
608
608
<body>
609
609
<div id =\\"app\\"></div>
Original file line number Diff line number Diff line change @@ -15,7 +15,14 @@ describe('vite build', () => {
15
15
root : path . resolve ( __dirname , 'fixtures/vite-repo' ) ,
16
16
build : {
17
17
write : false ,
18
- cssMinify : false
18
+ cssMinify : false ,
19
+ rollupOptions : {
20
+ output : {
21
+ entryFileNames : `[name].js` ,
22
+ chunkFileNames : `[name].js` ,
23
+ assetFileNames : `[name].[ext]`
24
+ }
25
+ }
19
26
} ,
20
27
plugins : [ utwm ( ) ]
21
28
} ) ) as RollupOutput
You can’t perform that action at this time.
0 commit comments