You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can dual publish a CJS and ESM version (based on package.json toggle). Can you open an issue on CRA for this please?
I've never done this before, but I think this means defining two different entry points in package.json:
main pointing to CJS
module pointing to ESM
Correct me if I'm wrong.
Let me know if you have any other pointers for how to structure the build script and if you think it's feasible for a first time contributor to CRA I'm happy to give it a shot!
The text was updated successfully, but these errors were encountered:
Discussion started here: react-cosmos/react-cosmos#484 (comment)
@Timer's comment on this
I've never done this before, but I think this means defining two different entry points in package.json:
main
pointing to CJSmodule
pointing to ESMCorrect me if I'm wrong.
Let me know if you have any other pointers for how to structure the build script and if you think it's feasible for a first time contributor to CRA I'm happy to give it a shot!
The text was updated successfully, but these errors were encountered: