fix: theme css file export
This commit is contained in:
@@ -14,6 +14,12 @@ export default defineConfig({
|
||||
rollupOptions: {
|
||||
output: {
|
||||
entryFileNames: "bundle.js",
|
||||
assetFileNames: (assetInfo) => {
|
||||
if (assetInfo.names?.some((n) => n.endsWith(".css"))) {
|
||||
return "ezpp-theme.css";
|
||||
}
|
||||
return "assets/[name]-[hash][extname]";
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user