unify typescript version and rollup plugins (#921)

This commit is contained in:
yz-yu
2026-04-01 12:00:00 +08:00
committed by GitHub
parent e9fc3327a5
commit d9f6709e78
10 changed files with 17 additions and 47 deletions

View File

@@ -5,7 +5,7 @@ import livereload from 'rollup-plugin-livereload';
import { terser } from 'rollup-plugin-terser';
import sveltePreprocess from 'svelte-preprocess';
import webWorkerLoader from 'rollup-plugin-web-worker-loader';
import typescript from '@rollup/plugin-typescript';
import typescript from 'rollup-plugin-typescript2';
import pkg from './package.json';
import css from 'rollup-plugin-css-only';
@@ -64,6 +64,7 @@ export default entries.map((output) => ({
resolve({
browser: true,
dedupe: ['svelte'],
extensions: ['.js', '.ts', '.svelte'],
}),
commonjs(),