File tree 4 files changed +446
-445
lines changed
4 files changed +446
-445
lines changed Original file line number Diff line number Diff line change 68
68
"playwright-chromium" : " ^1.47.2" ,
69
69
"prettier" : " 3.3.3" ,
70
70
"rimraf" : " ^5.0.10" ,
71
- "rollup" : " ^4.20.0 " ,
71
+ "rollup" : " ^4.22.5 " ,
72
72
"rollup-plugin-esbuild" : " ^6.1.1" ,
73
73
"simple-git-hooks" : " ^2.11.1" ,
74
74
"tslib" : " ^2.7.0" ,
Original file line number Diff line number Diff line change 87
87
"dependencies" : {
88
88
"esbuild" : " ^0.24.0" ,
89
89
"postcss" : " ^8.4.47" ,
90
- "rollup" : " ^4.20.0 "
90
+ "rollup" : " ^4.22.5 "
91
91
},
92
92
"optionalDependencies" : {
93
93
"fsevents" : " ~2.3.3"
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import type { StaticImport } from 'mlly'
13
13
import { ESM_STATIC_IMPORT_RE , parseStaticImport } from 'mlly'
14
14
import { makeLegalIdentifier } from '@rollup/pluginutils'
15
15
import type { PartialResolvedId } from 'rollup'
16
+ import type { Identifier } from 'estree'
16
17
import {
17
18
CLIENT_DIR ,
18
19
CLIENT_PUBLIC_PATH ,
@@ -984,7 +985,7 @@ export function transformCjsImport(
984
985
) {
985
986
// for ExportSpecifier, local name is same as imported name
986
987
// prefix the variable name to avoid clashing with other local variables
987
- const importedName = spec . local . name
988
+ const importedName = ( spec . local as Identifier ) . name
988
989
// we want to specify exported name as variable and re-export it
989
990
const exportedName = spec . exported . name
990
991
if ( exportedName === 'default' ) {
You can’t perform that action at this time.
0 commit comments