Skip to content
New issue

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

Warning -- Rollup 'sourcemap' option must be set to generate source maps. #1011

Open
Skenvy opened this issue Feb 4, 2025 · 0 comments
Open

Comments

@Skenvy
Copy link

Skenvy commented Feb 4, 2025

Using this as is I was getting a warning during rollup (!) [plugin typescript] @rollup/plugin-typescript: Rollup 'sourcemap' option must be set to generate source maps. until I found rollup/plugins#1805 which suggests using --configPlugin 'typescript={compilerOptions:{sourceMap:false}}' --sourcemap as options to rollup to fix it, which has been the only thing I've found that has fixed it after a while of searching. Probably worth adding to the package.json's scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant