Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to sass-embedded #2846

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading