mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
refactor(web): migrate create-react-app to vite (#823)
* fix(build): dockerignore add exclusions * fix: baseurl and build * chore: removed react-app-env instead use vite * chore: updated server and embedding static files. * commented because conflict I believe, and not needed. * docs: updated readme * chore: updated json and added vite * chore: import fix * chore: updated yarn.lock and package json * build: add empty dist to compile backend * fix: use / as default baseurl --------- Co-authored-by: KaiserBh <kaiserbh@proton.me> Co-authored-by: ze0s <ze0s@riseup.net>
This commit is contained in:
parent
33897b04a1
commit
1cdbbe5bf3
20 changed files with 717 additions and 9474 deletions
|
@ -6,9 +6,9 @@
|
|||
"DOM.Iterable",
|
||||
"ESNext"
|
||||
],
|
||||
"types": [],
|
||||
"types": ["vite/client"],
|
||||
"allowJs": false,
|
||||
"skipLibCheck": false,
|
||||
"skipLibCheck": true,
|
||||
"esModuleInterop": false,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"strict": true,
|
||||
|
@ -19,10 +19,14 @@
|
|||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react-jsx",
|
||||
"noFallthroughCasesInSwitch": true
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"./src",
|
||||
"./types"
|
||||
]
|
||||
}
|
||||
"./types",
|
||||
"vite.config.ts"
|
||||
],
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue