vuetify-loader icon indicating copy to clipboard operation
vuetify-loader copied to clipboard

[@vuetify/vite-plugin] CSS is not loaded when building in systemjs for single-spa

Open pbrzosko opened this issue 3 years ago • 0 comments

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?

pbrzosko avatar Sep 21 '22 09:09 pbrzosko