Skip to content

feat(rollup): support esm configurations to be provided - #3435

Merged
alexeagle merged 1 commit into
bazel-contrib:stablefrom
devversion:support-esm-rollup-config
May 2, 2022
Merged

feat(rollup): support esm configurations to be provided#3435
alexeagle merged 1 commit into
bazel-contrib:stablefrom
devversion:support-esm-rollup-config

Conversation

@devversion

Copy link
Copy Markdown
Contributor

Adds support for ESM (.mjs) configurations when using @bazel/rollup.
This is useful for using e.g. ESM rollup plugins, or the Angular linker
Babel plugin (as of v13+ Angular packages ship as strict ESM).

cc. @JamesHollyer

@devversion
devversion force-pushed the support-esm-rollup-config branch 3 times, most recently from 664e162 to d7b463f Compare April 29, 2022 13:43
@jbedard

jbedard commented Apr 29, 2022

Copy link
Copy Markdown
Collaborator

Looks like a lot of unnecessary whitspace changes?

Comment thread packages/rollup/rollup_bundle.bzl
Comment thread packages/rollup/test/esm_config/BUILD.bazel Outdated
@devversion
devversion force-pushed the support-esm-rollup-config branch from d7b463f to 99c24bc Compare April 29, 2022 17:03
Comment thread docs/Rollup.md
@devversion
devversion force-pushed the support-esm-rollup-config branch from 99c24bc to 07d2bac Compare April 29, 2022 17:23
Comment thread package.json Outdated
Adds support for ESM (.mjs) configurations when using `@bazel/rollup`.
This is useful for using e.g. ESM rollup plugins, or the Angular linker
Babel plugin (as of v13+ Angular packages ship as strict ESM).
@devversion
devversion force-pushed the support-esm-rollup-config branch from 07d2bac to 01c3623 Compare April 29, 2022 17:36

@alexeagle alexeagle left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thanks!

@alexeagle

Copy link
Copy Markdown
Collaborator

Checked that rules_rollup doesn't seem to have the same problem https://github.com/aspect-build/rules_rollup/blob/main/rollup/private/rollup_bundle.bzl#L241

1 similar comment
@alexeagle

Copy link
Copy Markdown
Collaborator

Checked that rules_rollup doesn't seem to have the same problem https://github.com/aspect-build/rules_rollup/blob/main/rollup/private/rollup_bundle.bzl#L241

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.

3 participants