Skip to content

Commit

Permalink
chore: update @rollup/plugin-commonjs to version 28 and disable depre…
Browse files Browse the repository at this point in the history
…cation warnings
  • Loading branch information
Niek committed Nov 4, 2024
1 parent d02e687 commit 46150e3
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 53 deletions.
74 changes: 23 additions & 51 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 @@ -10,7 +10,7 @@
"devDependencies": {
"@fullhuman/postcss-purgecss": "^6.0.0",
"@mdi/js": "^7.4.47",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-html": "^1.0.4",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
Expand Down
7 changes: 6 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ export default {
}
}),

postcss({ extract: true, plugins: (production ? [purgecss({ content: ['./src/**/*.svelte', './rollup.config.js'], safelist: [/svelte-/] })] : []), minimize: production }),
postcss({
extract: true,
plugins: (production ? [purgecss({ content: ['./src/**/*.svelte', './rollup.config.js'], safelist: [/svelte-/] })] : []),
minimize: production,
use: { sass: { quietDeps: true } } // Disable deprecation warning
}),

commonjs(),
nodePolyfills(),
Expand Down

0 comments on commit 46150e3

Please sign in to comment.