@nx/rollup: Allow outputting .mjs
files for better dual format publishing
#29186
TheHolyWaffle
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
By default, the rollup config spits out
cjs
andesm
type formats:However, for esm dual publishing best practices. It's recommended for the
esm
files to have the.mjs
file extension instead of.js
. This is validated by running a tool like "are the types wrong" on the generated output.Beta Was this translation helpful? Give feedback.
All reactions