Add tsconfig.json to fix vite-plugin-dts crash during config load
Lint info.xml / xml-lint (push) Successful in 14s
Lint PHP / php-lint (8.2) (push) Successful in 47s
Lint PHP / php-lint (8.3) (push) Successful in 49s
Lint PHP / php-lint (8.4) (push) Successful in 40s
PHPUnit / unit-tests (push) Successful in 43s
Build release artifact / package (push) Failing after 1m30s
Lint info.xml / xml-lint (push) Successful in 14s
Lint PHP / php-lint (8.2) (push) Successful in 47s
Lint PHP / php-lint (8.3) (push) Successful in 49s
Lint PHP / php-lint (8.4) (push) Successful in 40s
PHPUnit / unit-tests (push) Successful in 43s
Build release artifact / package (push) Failing after 1m30s
@nextcloud/vite-config's index.js barrel statically re-exports createLibConfig from libConfig.js, which imports vite-plugin-dts at module scope. That import chain runs even though we only use createAppConfig, and vite-plugin-dts crashes while resolving a tsconfig that did not exist in this (plain JS/Vue) project.
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"target": "ES2022",
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "Bundler",
|
||||||
|
"lib": ["ES2022", "DOM"],
|
||||||
|
"allowJs": true,
|
||||||
|
"checkJs": false,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"isolatedModules": true,
|
||||||
|
"noEmit": true,
|
||||||
|
"strict": false
|
||||||
|
},
|
||||||
|
"include": ["src/**/*.js", "src/**/*.vue", "vite.config.js"]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user