You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
Describe the bug
Nested import json file in vite.config.ts no more working since vite 2.1.0.
Reproduction
Repo: https://github.com/Ynewtime/import-json-fail
npm init @vitejs/app
config/config.json
file and asrc/config.ts
file importing the previous onesrc/config.ts
invite.config.ts
yarn dev
System Info
vite
version: 2.1.0Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: