Mercurial > packages > framework
comparison publishable/vite.config.js @ 3:e107504fa22c
New assets related to BS5
| author | luka |
|---|---|
| date | Mon, 23 Jun 2025 20:20:31 -0400 |
| parents | b44434aaa767 |
| children | 84c75d9d90be |
comparison
equal
deleted
inserted
replaced
| 2:b44434aaa767 | 3:e107504fa22c |
|---|---|
| 8 const pageScripts = fs | 8 const pageScripts = fs |
| 9 .readdirSync(pagesDir) | 9 .readdirSync(pagesDir) |
| 10 .map((file) => path.join(pagesDir, file)); | 10 .map((file) => path.join(pagesDir, file)); |
| 11 | 11 |
| 12 export default defineConfig({ | 12 export default defineConfig({ |
| 13 // Optional: Silence Sass deprecation warnings. See note below. | |
| 14 css: { | |
| 15 preprocessorOptions: { | |
| 16 scss: { | |
| 17 silenceDeprecations: [ | |
| 18 'import', | |
| 19 'mixed-decls', | |
| 20 'color-functions', | |
| 21 'global-builtin', | |
| 22 ], | |
| 23 }, | |
| 24 }, | |
| 25 }, | |
| 13 plugins: [ | 26 plugins: [ |
| 14 laravel({ | 27 laravel({ |
| 15 input: [ | 28 input: [ |
| 16 "resources/css/app.css", | 29 "resources/css/app.css", |
| 17 "resources/js/app.js", | 30 "resources/js/app.js", |
| 18 "resources/js/easymde.js", | 31 "resources/js/easymde.js", |
| 32 "resources/js/prismjs.js", | |
| 19 ...pageScripts, | 33 ...pageScripts, |
| 20 ], | 34 ], |
| 21 refresh: true, | 35 refresh: true, |
| 22 }), | 36 }), |
| 23 prism({ | 37 prism({ |
