-
Notifications
You must be signed in to change notification settings - Fork 62
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
Broken sourcemap #89
Comments
@danielsss To fully fix this issue (I'm still getting the "file not found" error in DevTools and the "Broken sourcemap" warning after rollup bundling, sorry!), I suggest that there's more work to be done in the build process. I am working on other projects at the moment and will come back another day and have a closer look at this issue. Thanks for your time! |
Currently, I'm busy as well and don't have much time to fix this issue. Take your time and I appreciate what you've done before. |
Enable JavaScript source maps
in the DevTools settings.This can be fixed by
inlineSources
options in tsconfig to include the code in the sourcemap fileOptions 1 and 2 will both increase the published size of the package.
To reproduce, run command
npm run rollup
. It seems thatrollup-plugin-minification
doesn't return the transformed sourcemap after the minification. Since the plugin is no longer maintained, consider migrating to@rollup/plugin-terser
.I will open a draft pr first and push fixes based on your feedback.
#88
The text was updated successfully, but these errors were encountered: