Skip to content

Commit

Permalink
Use modern scss api
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikthepixel committed Nov 2, 2024
1 parent 4071482 commit 6399f29
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
9 changes: 9 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ import languagePlugin from "./plugins/astro-language";
export default defineConfig({
site: "https://thenewoil.org",
outDir: "./www",
vite: {
css: {
preprocessorOptions: {
scss: {
api: "modern-compiler",
},
},
},
},
integrations: [
tailwind({
applyBaseStyles: false,
Expand Down
20 changes: 12 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.6",
"sass": "^1.80.3",
"sass": "^1.80.6",
"string-strip-html": "^13.0.4",
"svgo": "2.8",
"ts-node": ">= 10.9.1",
Expand Down

0 comments on commit 6399f29

Please sign in to comment.