File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
packages/plugin-react/src Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,8 @@ export default function viteReact(opts: Options = {}): Plugin[] {
189189 configResolved ( config ) {
190190 runningInVite = true
191191 base = config . base
192- // @ts -expect-error only available in newer rolldown-vite
192+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- use ts-ignore for ecosystem-ci
193+ // @ts -ignore only available in newer rolldown-vite
193194 if ( config . experimental . fullBundleMode ) {
194195 isFullBundle = true
195196 }
@@ -225,9 +226,11 @@ export default function viteReact(opts: Options = {}): Plugin[] {
225226 } ,
226227 options ( options ) {
227228 if ( ! runningInVite ) {
228- // @ts -expect-error Rolldown has `transform.jsx`
229+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- use ts-ignore for ecosystem-ci
230+ // @ts -ignore Rolldown has `transform.jsx`
229231 options . transform ??= { }
230- // @ts -expect-error Rolldown has `transform.jsx`
232+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- use ts-ignore for ecosystem-ci
233+ // @ts -ignore Rolldown has `transform.jsx`
231234 options . transform . jsx = {
232235 runtime : opts . jsxRuntime ,
233236 importSource : opts . jsxImportSource ,
You can’t perform that action at this time.
0 commit comments