-
-
Notifications
You must be signed in to change notification settings - Fork 75
TypeError: e.target.toLowerCase is not a function #244
Copy link
Copy link
Closed
Description
the latest two versions(1.8.14/1.8.15) will cause build error, the parsed target is number:
// node_modules/pkg
{
"options": {
// ...
"module": 99,
"target": 99,
"jsx": 4
}
}
after introduce get-tsconfig, it will treate copilerOptions.target as string
https://github.com/privatenumber/get-tsconfig/blob/865dd9a7866d4fc418daf11b55da4b8183e28664/src/parse-tsconfig/index.ts#L283
workaround
// package.json
"overrides":{
"tsc-alias": "1.8.13"
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels