We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vite.config.ts import relative .ts file cause error. vite.config.ts also doesn't support sourcemap.
.ts
Just change /playground/plugins/jsPlugin.js filename with .ts extension. The playground will fail to start.
Add throw error in the file. You will find the sourcemap is broken when logging error.
Rollup by default don't resolve extensions other than .js: rollup/rollup#1052 (comment)
.js
The text was updated successfully, but these errors were encountered:
3df3ecd
No branches or pull requests
Describe the bug
vite.config.ts import relative
.ts
file cause error.vite.config.ts also doesn't support sourcemap.
Reproduction
Just change /playground/plugins/jsPlugin.js filename with
.ts
extension.The playground will fail to start.
Add throw error in the file. You will find the sourcemap is broken when logging error.
Context
Rollup by default don't resolve extensions other than
.js
: rollup/rollup#1052 (comment)The text was updated successfully, but these errors were encountered: