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

Consider creating .map files. #152

Open
baseplate-admin opened this issue Sep 6, 2023 · 1 comment
Open

Consider creating .map files. #152

baseplate-admin opened this issue Sep 6, 2023 · 1 comment

Comments

@baseplate-admin
Copy link

baseplate-admin commented Sep 6, 2023

Hi,

Thanks for this awesome extension. I was wondering if it was possible to add .map files for the minified bundle?

It is as simple as adding source : true in

output: {
format: 'umd',
name: 'easytimer',
file: `dist/easytimer${optimize ? '.min' : ''}.js`,
exports: 'named'
},

https://stackoverflow.com/a/63235210

Reasons :

image

I have this kind of code even though i have sourcemap enabled for my svelte project

@albert-gonzalez
Copy link
Owner

Hi!

I'll try to add them and release a new version ASAP :).

Best regards!

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

2 participants