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
After upgrading, typescript can no longer find the proper types.
importtsconfigPluginfrom'vite-tsconfig-paths';
Cannot find module 'vite-tsconfig-paths' or its corresponding type declarations.
There are types at '/Users/mike/Code/@browsercat/core/tools/vite-config/node_modules/vite-tsconfig-paths/dist/index.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.ts(2307)
I can fix the error by changing "module" to "preserve", but that causes other issues in my repo.
I think this plugin should work with older esm-compatible tsconfig options. For example, my current config:
After upgrading, typescript can no longer find the proper types.
I can fix the error by changing "module" to "preserve", but that causes other issues in my repo.
I think this plugin should work with older esm-compatible tsconfig options. For example, my current config:
The text was updated successfully, but these errors were encountered: