Skip to content

Commit 4d5ba34

Browse files
authored
test: handle vue-lib fixture for vite 6 (#465)
1 parent 2bd79f9 commit 4d5ba34

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

playground/vue-lib/vite.config.lib.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ export default defineConfig({
1111
name: 'MyVueLib',
1212
formats: ['es'],
1313
fileName: 'my-vue-lib',
14+
// Vite 6 only property to give a specific name to the css file.
15+
// Set as "style" to match Vite 5 for testing purposes.
16+
// @ts-expect-error
17+
cssFileName: 'style',
1418
},
1519
rollupOptions: {
1620
external: ['vue'],

0 commit comments

Comments
 (0)