question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove UMD format from default build outputs

See original GitHub issue

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 ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
aleclarsoncommented, 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.

0reactions
jaredpalmercommented, May 31, 2019

Not yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove UMD format from default build outputs #120 - GitHub
I use umd dev/prod bundles to track library size with bundled dependencies for development and production. All reactions.
Read more >
Vue-CLI: Remove '.umd' from filename in dist folder
I'm generating a library with Vue CLI 4.4: vue-cli-service build --target lib --formats=umd,umd-min --name example main.js.
Read more >
Output - webpack
To make UMD build available on both browsers and Node.js, set output.globalObject option to 'this' . Defaults to self for Web-like targets.
Read more >
Bundling Your JavaScript Library with Rollup | Risan Bagja
Rollup offers five output formats for your bundle: ... Delete generated files $ rm bundle.js amd.js umd.js es.js iife.js # Move main.js to ......
Read more >
The Ultimate Guide to Getting Started with the Rollup.js ...
Learn how to use this JavaScript bundler with easy-to-follow examples.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found