Skip to content

Commit

Permalink
Revert "fix(vite): scss warning"
Browse files Browse the repository at this point in the history
This reverts commit 5d3b7a2.
  • Loading branch information
Quentin-Guillemin committed Dec 9, 2024
1 parent 02445cb commit 38ba340
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 43 deletions.
7 changes: 0 additions & 7 deletions packages/change-etab/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,6 @@ export default ({ mode }: { mode: string }) => {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
},
},
},
build: {
lib: {
entry: './src/main.ts',
Expand Down
7 changes: 0 additions & 7 deletions packages/info-modal/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ export default ({ mode }: { mode: string }) => {
process.env = { ...process.env, ...loadEnv(mode, process.cwd()) }

return defineConfig({
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
},
},
},
build: {
lib: {
entry: './src/info-modal.ts',
Expand Down
1 change: 0 additions & 1 deletion packages/mediacentre/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export default ({ mode }: { mode: string }) => {
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
additionalData: `@import "@/assets/scss/global.scss";`,
},
},
Expand Down
7 changes: 0 additions & 7 deletions packages/param-etab/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@ export default ({ mode }: { mode: string }) => {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
},
},
},
build: {
lib: {
entry: './src/main.ts',
Expand Down
7 changes: 0 additions & 7 deletions packages/ressources-diffusables/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@ export default ({ mode }: { mode: string }) => {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
},
},
},
build: {
lib: {
entry: './src/main.ts',
Expand Down
7 changes: 0 additions & 7 deletions packages/tldraw/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ export default ({ mode }: { mode: string }) => {
return defineConfig({
base: process.env.VITE_BASE_URI,
plugins: [react(), cssInjectedByJsPlugin()],
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
},
},
},
build: {
lib: {
entry: './src/main.tsx',
Expand Down
7 changes: 0 additions & 7 deletions packages/wisemapping/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ export default ({ mode }: { mode: string }) => {
return defineConfig({
base: mode === 'development' ? process.env.VITE_BASE_URI : '/',
plugins: [react()],
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
},
},
},
build: {
lib: {
entry: './src/main.tsx',
Expand Down

0 comments on commit 38ba340

Please sign in to comment.