Skip to content

Commit

Permalink
chore: Upgrade @rollup/plugin-typescript (#3685)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored Oct 8, 2024
1 parent bdeeae4 commit 457e86a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
8 changes: 4 additions & 4 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 packages/webview-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@rollup/plugin-typescript": "^12.1.0",
"@tsconfig/svelte": "^5.0.4",
"@types/vscode-webview": "^1.57.5",
"@vscode/codicons": "^0.0.36",
Expand Down
7 changes: 6 additions & 1 deletion packages/webview-ui/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
// @ts-check
import commonjs from '@rollup/plugin-commonjs';
import resolve from '@rollup/plugin-node-resolve';
import terser from '@rollup/plugin-terser';
import typescript from '@rollup/plugin-typescript';
import css from 'rollup-plugin-css-only';
import svelte from 'rollup-plugin-svelte';
import sveltePreprocess from 'svelte-preprocess';
import { sveltePreprocess } from 'svelte-preprocess';

const production = !process.env.ROLLUP_WATCH;

Expand Down Expand Up @@ -61,6 +62,10 @@ export default {
typescript({
sourceMap: !production,
inlineSources: !production,
compilerOptions: {
outDir: './public/build',
sourceMap: !production,
},
}),

commonjs(),
Expand Down

0 comments on commit 457e86a

Please sign in to comment.