Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run .cjs and .mjs files through preset env #906

Merged
merged 5 commits into from Nov 27, 2023
Merged

Run .cjs and .mjs files through preset env #906

merged 5 commits into from Nov 27, 2023

Conversation

askoufis
Copy link
Contributor

@askoufis askoufis commented Nov 24, 2023

This will affect packages like Braid and our internal component libraries as they're compiled with crackle, but also any 3rd party dependencies that are shipping .cjs/.mjs source files.

For now we're depending on the extension lists provided by eslint-config-seek, but this may change in the future.

@askoufis askoufis requested a review from a team as a code owner November 24, 2023 05:35
Copy link

changeset-bot bot commented Nov 24, 2023

🦋 Changeset detected

Latest commit: 7035010

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sku Patch

Not sure what this means? Click here to learn what changesets are.

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

Copy link
Contributor Author

@askoufis askoufis left a comment

Choose a reason for hiding this comment

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

Bit confused about the snapshot changes. I guess a buffer polyfill was being bundled, but now isn't? And assert is now no-longer externalized because the unassert plugin is now correctly running on Braid?

@askoufis
Copy link
Contributor Author

askoufis commented Nov 27, 2023

For a future PR: sku exposes a tiny package that contains the extensions, e.g. @seek-sku/file-extensions (I already own this scope btw). sku and eslint-config-seek consume this package. Thoughts?

@askoufis askoufis merged commit 00332e8 into master Nov 27, 2023
4 checks passed
@askoufis askoufis deleted the babel-cjs-mjs branch November 27, 2023 05:29
@seek-oss-ci seek-oss-ci mentioned this pull request Nov 27, 2023
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.

None yet

4 participants