this service recursively checks/lists all licenses within a package's dependency graph. I remember there being a fair number of pieces involved here so was happy to see that all 400+ licenses involved are green!
* Remove mention of UMD support for web workers
OMT only supports amd or esm as output, so the readme should not
mention umd as supported.
When executing microbundle with umd format and `--workers`, the web
worker will fail to be detected or bundled.
* Update README.md
Co-authored-by: Ryan Christian <33403762+rschristian@users.noreply.github.com>
* fix: Output ESM w/ .mjs ext when pkg type is cjs
* docs: Adding changeset
* Update README.md
* Update README.md
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* chore: Add warning for new ESM output extension behavior
* Update src/index.js
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* Add worker-loader
Targets enhancement: https://github.com/developit/microbundle/issues/170
Enable usage of `microbundle --worker-loader` to apply rollup-plugin-web-worker-loader.
Allow bundling web workers automatically
- Add flag `--worker-loader`
- For format `es` and `modern`, a Worker `type: module` is automatically
bundled
* Update README.md
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* Update src/index.js
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* Update src/prog.js
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* Update test/__snapshots__/index.test.js.snap
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* Update test/fixtures/worker-loader/package.json
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* Update README.md
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* Remove node_modules from snapshot
* Upgrade rollup-plugin-off-main-thread
* Add changeset
Co-authored-by: Tim Daubenschütz <tim@daubenschuetz.de>
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* docs: use "exports" key in all examples
Replace a leftover 'esmodule' key with the current recommendation.
* docs: add CommonJS bundle to exports
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* docs: consolidate `package.json` samples
Merge the two microbundle build examples and refer
to Node.js docs for more information on the different fields.
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
* Document @ for the --define option
I had to dig through the code in order to figure out how to replace an expression.
I was initially trying to do `microbundle --define global=window` which should actually be `microbundle --define @global=window`
* Add --define section to readme
Co-authored-by: Jason Miller <developit@users.noreply.github.com>
aliasing react=preact doesn't work because the main preact package actually doesn't contain any default exports. So the more likely example would be to reference preact/compat.