Skip to content

Conversation

@TimDaub
Copy link
Contributor

@TimDaub TimDaub commented Mar 4, 2021

Few comments

🤞🏼 that somehow this gets merged!

Targets enhancement: developit#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
@changeset-bot
Copy link

changeset-bot bot commented Mar 4, 2021

⚠️ No Changeset found

Latest commit: f155eee

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@TimDaub TimDaub requested a review from developit May 5, 2021 20:16
@TimDaub
Copy link
Contributor Author

TimDaub commented May 5, 2021

@developit I addressed your comments. I'm not sure I'm capable of rebasing though. Last time I tried sketchy things happened in package-lock.json that I wasn't able to address. What now?

@ForsakenHarmony
Copy link
Collaborator

Last time I tried sketchy things happened in package-lock.json that I wasn't able to address.

You generally have to accept the remote one and then after create a new commit / amend a commit with a file you generated after by running npm install

@developit
Copy link
Owner

I'll try to get this rebased this week (I'm also terrible at it!).

This will need to go into a new breaking release (minor since microbundle is still pre-1.0), but I think that should be fine.

@developit
Copy link
Owner

Just wanted to mention I haven't forgotten about this PR, I just have been side-tracked rewriting Microbundle's filename inference.

@developit
Copy link
Owner

This was landed in #867! 🎉

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

Successfully merging this pull request may close these issues.

scriptURL of serviceWorker.register isn't considered part of bundle

4 participants