Skip to content

Commit 406ba21

Browse files
committed
fix: ignore rolldown-vite only things in type check
1 parent e708199 commit 406ba21

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/vite-plugin-svelte/src/preprocess.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import process from 'node:process';
22
import * as vite from 'vite';
33
import { mapToRelative, removeLangSuffix } from './utils/sourcemaps.js';
4-
//@ts-expect-error rolldown types don't exist
54
const {
65
isCSSRequest,
76
preprocessCSS,
87
resolveConfig,
98
transformWithEsbuild,
9+
//@ts-expect-error rolldown types don't exist
1010
rolldownVersion,
11+
//@ts-expect-error rolldown types don't exist
1112
transformWithOxc
1213
} = vite;
1314
/**

packages/vite-plugin-svelte/types/index.d.ts.map

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
null,
2727
null
2828
],
29-
"mappings": ";;;;aAIYA,OAAOA;;WAETC,mBAAmBA;;;;;;;;;;;kBAWZC,aAAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgGbC,YAAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAiDnBC,mBAAmBA;;;;;;;;;;;;;;;;WAgBnBC,oBAAoBA;;;;;;;;;;;;;;;MAezBC,SAASA;;kBAEGC,qBAAqBA;;;;;;;;;;;;;iBClKtBC,MAAMA;iBCTNC,cAAcA;iBCQRC,gBAAgBA",
29+
"mappings": ";;;;aAIYA,OAAOA;;WAETC,mBAAmBA;;;;;;;;;;;kBAWZC,aAAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAgGbC,YAAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAiDnBC,mBAAmBA;;;;;;;;;;;;;;;;WAgBnBC,oBAAoBA;;;;;;;;;;;;;;;MAezBC,SAASA;;kBAEGC,qBAAqBA;;;;;;;;;;;;;iBClKtBC,MAAMA;iBCRNC,cAAcA;iBCORC,gBAAgBA",
3030
"ignoreList": []
3131
}

0 commit comments

Comments
 (0)