File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import wasm from "vite-plugin-wasm"
44import topLevelAwait from 'vite-plugin-top-level-await' ;
55import { buildSync } from "esbuild" ;
66import { join } from "node:path" ;
7+ import versionPlugin from './vite-plugin-version' ;
78
89
910const swBuildPlugin : Plugin = {
@@ -26,9 +27,17 @@ export default defineConfig({
2627 css : {
2728 preprocessorOptions : {
2829 scss : {
29- additionalData : process . env . IS_SEB === "true" ? `@import "./_seb.scss";` : `@import "./_warp.scss";`
30+ additionalData : process . env . IS_SEB === "true" ? `@import "./_seb.scss";` : `@import "./_warp.scss";` ,
31+ quietDeps : true ,
32+ silenceDeprecations : [
33+ "mixed-decls" ,
34+ "import" ,
35+ "color-functions" ,
36+ "global-builtin" ,
37+ ] ,
38+ verbose : false ,
3039 }
31- }
40+ } ,
3241 } ,
3342 resolve : {
3443 alias : {
@@ -49,6 +58,7 @@ export default defineConfig({
4958 wasm ( ) ,
5059 topLevelAwait ( ) ,
5160 swBuildPlugin ,
61+ versionPlugin ,
5262 ] ,
5363 worker : {
5464 format : "es" ,
You can’t perform that action at this time.
0 commit comments