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

Provide unminified js version with named export #126

Open
nhaberl opened this issue Jul 21, 2023 · 2 comments
Open

Provide unminified js version with named export #126

nhaberl opened this issue Jul 21, 2023 · 2 comments

Comments

@nhaberl
Copy link

nhaberl commented Jul 21, 2023

I know it's of minor concern for most but it would be really helpful to download the dist version unminified from anywhere ... I can only find the min.js file.
fyi ... I have to use old school js within an organization and find your library really convenient and easy to integrate. So when bundling, minify all within the project it would be great.
BTW is there any specific reason why you export it as default ? Wehn bundling I came into the problem that more than 1 default export was set (my error too on my side : ) )

Thanks
Norbert

@horprogs
Copy link
Owner

I guess I can add unminified version, just need to figure out how to setup it in Vite.

But what's wrong with default export? What is the problem with more than 1 default exports?

@nhaberl
Copy link
Author

nhaberl commented Jul 26, 2023

Problem ist that NUglify AS a bundler for example complains because He Sets all Exports in the end of the bundle and therefore only 1 is allowed per Module/file

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