build: vite6.0后构建的css文件名需配置回style

This commit is contained in:
roymondchen 2025-02-11 10:47:43 +08:00
parent 51b62cfe92
commit aec80388f0

View File

@ -64,6 +64,7 @@ async function build({ packageName, format, pkg, packagesDir }) {
name: `TMagic${toPascalCase(packageName)}`, name: `TMagic${toPascalCase(packageName)}`,
fileName: `tmagic-${packageName}`, fileName: `tmagic-${packageName}`,
formats: [format], formats: [format],
cssFileName: 'style',
}, },
rollupOptions: { rollupOptions: {