vuetify-loader
vuetify-loader copied to clipboard
[@vuetify/vite-plugin] CSS is not loaded when building in systemjs for single-spa
Hi,
when I work in development mode everything is fine, CSS are injected into the page. But when I build for production with following setting:
build: {
rollupOptions: {
input: 'src/main.ts',
output: {
entryFileNames: '[name].${hash}.js',
chunkFileNames: '[name].${hash}.js',
assetFileNames: '[name].${hash}.[ext]',
format: "system"
},
preserveEntrySignatures: 'strict'
}
},
there is no CSS at all.
I am importing vuetify styles in main.ts:
import 'vuetify/styles'
Of course there is no index.html, so maybe this is the problem. Do you know what can be the issue here?