Skip to content

Commit

Permalink
fix: sass legacy warn (#4440)
Browse files Browse the repository at this point in the history
* fix: sass legacy warn

* core: remove jq dep from electron
  • Loading branch information
urmauur authored Jan 13, 2025
1 parent b6c1fb5 commit 395f5d4
Show file tree
Hide file tree
Showing 4 changed files with 175 additions and 35 deletions.
1 change: 0 additions & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
"electron-playwright-helpers": "^1.6.0",
"eslint": "8.57.0",
"eslint-plugin-react": "^7.34.0",
"jq": "^1.7.2",
"rimraf": "^5.0.5",
"run-script-os": "^1.1.6",
"typescript": "^5.3.3",
Expand Down
2 changes: 1 addition & 1 deletion joi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"@types/jest": "^29.5.12",
"autoprefixer": "10.4.16",
"jest": "^29.7.0",
"rollup-plugin-sass": "^1.14.0",
"tailwind-merge": "^2.2.0",
"tailwindcss": "^3.4.1",
"ts-jest": "^29.2.5"
Expand Down Expand Up @@ -71,6 +70,7 @@
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-typescript2": "0.36.0",
"sass": "^1.83.1",
"typescript": "^5.7.2"
},
"packageManager": "[email protected]"
Expand Down
3 changes: 1 addition & 2 deletions joi/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import tailwindcss from 'tailwindcss'
import typescriptEngine from 'typescript'
import resolve from '@rollup/plugin-node-resolve'
import copy from 'rollup-plugin-copy'
import sass from 'rollup-plugin-sass'

const packageJson = JSON.parse(readFileSync('./package.json'))

Expand All @@ -36,6 +35,7 @@ export default [
use: {
sass: {
silenceDeprecations: ['legacy-js-api'],
api: 'modern',
},
},
minimize: true,
Expand All @@ -58,7 +58,6 @@ export default [
],
}),
terser(),
sass(),
],
watch: {
clearScreen: false,
Expand Down
Loading

0 comments on commit 395f5d4

Please sign in to comment.