Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@rschristian
Copy link
Member

Working on some changes to build output in v11, came across this and figured it was worth addressing separately.

Whilst Microbundle does support multi-entries, it does so incorrectly when combined with the --cwd flag in that the cwd isn't passed to tiny-glob. This has tiny-glob resolving from the original cwd (so root of our repo) which src/scheduler.js fails. src/index.js works only as this happens to match core. As such, the src/scheduler.js input is stripped out & not built as an additional entry.

Bundling it separately isn't necessary though, this script has no imports so all microbundle does is minify the ~10loc. None of the other compat entries are bundled either & I think we're pretty happy with how that works?

@coveralls
Copy link

coveralls commented Feb 16, 2025

Coverage Status

coverage: 99.618%. remained the same
when pulling 46b4ac5 on chore/compat-built-script
into 4072d89 on main.

@rschristian rschristian merged commit 501d7e6 into main Feb 17, 2025
5 checks passed
@rschristian rschristian deleted the chore/compat-built-script branch February 17, 2025 19:24
@JoviDeCroock JoviDeCroock mentioned this pull request Feb 18, 2025
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.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.