Vite + Typescript error on build but not dev (Cannot read properties of undefined (reading ‘push’))
I have set up a vite app, using the react-ts
template. I’ve been using the npm run dev
script all this time, but now I’ve tried to actually build it.
Typescript – Cannot find module … or its corresponding type declarations in a monorepo
I have a monorepo with this structure:
How to declare types for non-JS files centrally?
I am writing a bundler plugin (e.g. vite) that can load *.sql
files directly in JS/TS. They will be transformed to valid JS modules during bundling.
Custom simple Storybook alternative using Vite
I am trying to create my simple Storybook-like alternative package called playground
which is installed as dependency into other packages like foo-products
or bar-products
.
Taking config data from another package
I am trying to create my simple Storybook-like alternative package called playground
which is installed as dependency into other packages like foo-products
or bar-products
.
Yaking config data from another package
I am trying to create my simple Storybook-like alternative package called playground
which is installed as dependency into other packages like foo-products
or bar-products
.
How can I control what level errors/warnings are logged at?
I inherited a Vite and TypeScript codebase, and it’s somehow been configured to log TypeScript warnings as errors:
With Vite/Typescript How Can I Control What Level Errors/Warnings Are Logged At?
I inherited a Vite and Typescript-using codebase, and it’s somehow been configured to log Typescript warnings as errors: