fix(extension): resolve build error - fix file encoding and JSX config

- Fix escaped quotes in ThreadGeneratorPanel.tsx (root cause of build error)
- Update tsconfig.json to use jsx: react-jsx instead of preserve
- Upgrade Plasmo to v0.90.5 (latest version)
- Build now succeeds in 4.7s

Root Cause: ThreadGeneratorPanel.tsx had escaped quotes (\") instead of
normal quotes ("), causing SWC parser to fail with 'Unexpected token div' error.
This was a file encoding issue, not a Plasmo version issue.

Fixes #build-error
This commit is contained in:
API Test Bot 2026-02-04 10:13:52 +07:00
parent 773f2f3cf9
commit 70226171d8
4 changed files with 825 additions and 568 deletions

View file

@ -1,12 +1,24 @@
{
"extends": "plasmo/templates/tsconfig.base.json",
"exclude": ["node_modules"],
"include": [".plasmo/index.d.ts", "./**/*.ts", "./**/*.tsx"],
"compilerOptions": {
"paths": {
"~*": ["./*"],
"@/*": ["./*"]
},
"baseUrl": "."
}
"extends": "plasmo/templates/tsconfig.base.json",
"exclude": [
"node_modules"
],
"include": [
".plasmo/index.d.ts",
"./**/*.ts",
"./**/*.tsx"
],
"compilerOptions": {
"paths": {
"~*": [
"./*"
],
"@/*": [
"./*"
]
},
"baseUrl": ".",
"jsx": "react-jsx",
"jsxImportSource": "react"
}
}