Skip to content

Commit

Permalink
chore: upgrade to Vite 6 and remove modern compiler (#1746)
Browse files Browse the repository at this point in the history
- Vite 6 made SASS modern-compiler the default so we can remove unnecessary option
  • Loading branch information
ghiscoding authored Nov 27, 2024
1 parent acf3d3e commit 56fd941
Show file tree
Hide file tree
Showing 5 changed files with 322 additions and 24 deletions.
2 changes: 1 addition & 1 deletion examples/vite-demo-vanilla-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"@types/whatwg-fetch": "^0.0.33",
"sass": "^1.79.3",
"typescript": "^5.5.4",
"vite": "^5.4.2"
"vite": "^6.0.0"
}
}
7 changes: 0 additions & 7 deletions examples/vite-demo-vanilla-bundle/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,5 @@ export default defineConfig(() => {
followSymlinks: false,
}
},
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler'
}
}
}
};
});
2 changes: 1 addition & 1 deletion packages/vanilla-force-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"fflate": "^0.8.2",
"normalize-path": "^3.0.0",
"tinyglobby": "^0.2.10",
"vite": "^5.4.10",
"vite": "^6.0.0",
"yargs": "^17.7.2"
}
}
7 changes: 0 additions & 7 deletions packages/vanilla-force-bundle/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,4 @@ export default defineConfig({
},
},
},
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler'
}
}
}
});
Loading

0 comments on commit 56fd941

Please sign in to comment.