Skip to content

Commit

Permalink
Merge pull request #2846 from mashehu/switch-to-sass-embedded
Browse files Browse the repository at this point in the history
switch to sass-embedded
  • Loading branch information
mashehu authored Nov 11, 2024
2 parents c68e3cf + 50dd1d5 commit bf0e53e
Show file tree
Hide file tree
Showing 8 changed files with 515 additions and 2 deletions.
466 changes: 465 additions & 1 deletion package-lock.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions sites/configs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ export default defineConfig({
assetsPrefix: 'https://nf-core-configs.netlify.app/',
},
vite: {
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
silenceDeprecations: ['legacy-js-api'],
},
},
},
plugins: [
yaml(),
FontaineTransform.vite({
Expand Down
8 changes: 8 additions & 0 deletions sites/docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ export default defineConfig({
assetsPrefix: 'https://nf-core-docs.netlify.app/',
},
vite: {
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
silenceDeprecations: ['legacy-js-api'],
},
},
},
plugins: [
yaml(),
FontaineTransform.vite({
Expand Down
8 changes: 8 additions & 0 deletions sites/main-site/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ export default defineConfig({
: process.env.DEPLOY_PRIME_URL,
},
vite: {
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
silenceDeprecations: ['legacy-js-api'],
},
},
},
plugins: [
yaml(),
FontaineTransform.vite({
Expand Down
3 changes: 2 additions & 1 deletion sites/main-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-svelte": "^3.2.6",
"sass": "1.77.6"
"sass": "1.77.6",
"sass-embedded": "^1.80.6"
}
}
8 changes: 8 additions & 0 deletions sites/modules-subworkflows/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ export default defineConfig({
assetsPrefix: 'https://nf-core-modules-subworkflows.netlify.app/',
},
vite: {
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
silenceDeprecations: ['legacy-js-api'],
},
},
},
plugins: [
yaml(),
FontaineTransform.vite({
Expand Down
8 changes: 8 additions & 0 deletions sites/pipeline-results/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ export default defineConfig({
assetsPrefix: 'https://nf-core-pipeline-results.netlify.app/',
},
vite: {
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
silenceDeprecations: ['legacy-js-api'],
},
},
},
plugins: [
yaml(),
FontaineTransform.vite({
Expand Down
8 changes: 8 additions & 0 deletions sites/pipelines/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ export default defineConfig({
assetsPrefix: 'https://nf-core-pipelines.netlify.app/',
},
vite: {
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
silenceDeprecations: ['legacy-js-api'],
},
},
},
plugins: [
yaml(),
FontaineTransform.vite({
Expand Down

0 comments on commit bf0e53e

Please sign in to comment.