Skip to content

Commit

Permalink
fix: disable vite modulePreload vitejs/vite#5532
Browse files Browse the repository at this point in the history
  • Loading branch information
mihai-sysbio committed Oct 28, 2022
1 parent 26ea4f3 commit 40534ce
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions frontend/vite.config.js
Expand Up @@ -6,18 +6,19 @@ import { defineConfig } from 'vite';

export default defineConfig({
build: {
raw: {
extenstions : ['html', 'txt'],
glob: ['**.html'] // or glob
}
},
raw: {
extensions : ['html', 'txt'],
glob: ['**.html'], // or glob
},
modulePreload: false,
},
css: {
preprocessorOptions: {
scss: {
additionalData: `
@import "./src/style/vars.scss";
`,
}
},
},
},
resolve: {
Expand Down

0 comments on commit 40534ce

Please sign in to comment.