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

Remove UMD format from default build outputs #120

Closed
jaredpalmer opened this issue May 30, 2019 · 5 comments
Closed

Remove UMD format from default build outputs #120

jaredpalmer opened this issue May 30, 2019 · 5 comments

Comments

@jaredpalmer
Copy link
Owner

It's really really slow to build for UMD and very very few modules really need to have a standalone <script> tag-ready output.

Thoughts @sw-yx ?

@TrySound
Copy link
Collaborator

I use umd dev/prod bundles to track library size with bundled dependencies for development and production.

@nstfkc
Copy link
Contributor

nstfkc commented May 30, 2019

@jaredpalmer I was going to ask the same thing. Hey @TrySound you can still use --format umd. I am creating a pr for this.

@swyxio
Copy link
Collaborator

swyxio commented May 30, 2019

i agree it should be a flag not a default. we’re gonna need a tsdxrc soon...

@jaredpalmer
Copy link
Owner Author

Not yet.

@aleclarson
Copy link
Contributor

aleclarson commented Jun 5, 2019

Maybe tsdx create should have a --umd flag that adds the umd:main entry to package.json.
Then tsdx build can just check package.json to know when to build the UMD bundle.

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

5 participants