Skip to content

Conversation

@BPScott
Copy link
Member

@BPScott BPScott commented Aug 27, 2021

WHY are these changes introduced?

The migration to skn for our build in #4424 was bold.
So bold that I left some few silly bugs in it.

This PR fixes those bugs.

WHAT is this pull request doing?

  • Fixes the esnext key in package.json to point to the right file
  • Creates js files instead of mjs files for the esm build output, to stop errors in a default configured webpack 4, thanks to it's strict behaviour for handling mjs files. This fixes running size-limit.
  • Some small tidying of references to unused files and avoids a direct dependency on @sewing-kit/plugin-rollup

@BPScott BPScott changed the title Fix build bits Fix sewing-kit-next build output Aug 27, 2021
@BPScott BPScott changed the title Fix sewing-kit-next build output Fix bugs discovered after skn build migration Aug 27, 2021
@BPScott BPScott added the 🤖Skip Changelog Causes CI to ignore changelog update check. label Aug 27, 2021
Copy link
Contributor

@voiid voiid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍🏼

@BPScott
Copy link
Member Author

BPScott commented Aug 27, 2021

size-limit is breaking here, as it is failing to run against main, however the run against this branch works. Merging this shall mean main starts to work again.

@BPScott BPScott merged commit d3ac6f6 into main Aug 27, 2021
@BPScott BPScott deleted the fix-build-bits branch August 27, 2021 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖Skip Changelog Causes CI to ignore changelog update check.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants