Comments (2)
You need to run tsc -b
instead of tsc --noEmit
.
But that might be not intuitive. Maybe this could be one reason to revert #15913 and merge the tsconfigs (#15913).
from vite.
Probably just repeating OP here, but the same holds for those of us using tsc -w
as our compile error monitor. I just created a new Typescript + React project with npm create vite@latest
, and tsc -w seems to have trouble unless I merge the tsconfigs myself.
from vite.
Related Issues (20)
- 字体图标无法正确加载 HOT 1
- __vite__mapDeps optimization breaks configuration depending on Vite bundling HOT 1
- Suppress `dynamic import cannot be analyzed by Vite` warning for dynamic imports with /* webpackIgnore: true */ HOT 1
- Error `Unexpected token '{'` after upgrade from [email protected] HOT 2
- Typings incorrect for CommonServerOptions `https`, should be `| boolean` HOT 1
- Support `resolve.alias` per environment in Environments API HOT 6
- Invalid relative path in index.html when building with base option empty in Windows HOT 3
- Dynamic require doesn't work in dev mode HOT 1
- `lightningcss` is dynamically imported but not bundled or installed HOT 3
- Multiple pass for the build
- Deyloy productions: proxy not working
- Update version of postcss-load-config
- Unable to completely disable Rollup's tree shaking HOT 2
- [Bug Report] 5.3.2 dynamic css import could not resolve "./index-XXX.js" HOT 1
- Hot reloading does not work
- [feat] Ensure prefix tag always display in createLogger
- CSS file paths aren't rebased corretly anymore after updating to Vite 5 HOT 2
- Global namespace pollution when using rollupOptions.output.format umd
- Svelte template does not support v5 preview
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vite.