mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 09:46:25 +02:00
- 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
24 lines
463 B
JSON
24 lines
463 B
JSON
{
|
|
"extends": "plasmo/templates/tsconfig.base.json",
|
|
"exclude": [
|
|
"node_modules"
|
|
],
|
|
"include": [
|
|
".plasmo/index.d.ts",
|
|
"./**/*.ts",
|
|
"./**/*.tsx"
|
|
],
|
|
"compilerOptions": {
|
|
"paths": {
|
|
"~*": [
|
|
"./*"
|
|
],
|
|
"@/*": [
|
|
"./*"
|
|
]
|
|
},
|
|
"baseUrl": ".",
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "react"
|
|
}
|
|
}
|