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
Please output two versions -- CJS and ESM -- in the shipped libraries and remove the type: module flag from package.json.
I don't think this is a breaking change as you are only adding a new output variant. Existing systems that rely on ESM will continue to work the same way.
Visual Mockups
None
The text was updated successfully, but these errors were encountered:
acerix
changed the title
Support two dist variants: CJS and ESM
Support for building CJS modules
Nov 2, 2020
There is now a commonjs file in each package, main.cjs.js and now it's hooked up to the main field in package.json whereas the esm file is the module field. As of 5.4.0
Checklist
Please mark these items with an [x]
Feature Description
Please output two versions -- CJS and ESM -- in the shipped libraries and remove the type: module flag from package.json.
I don't think this is a breaking change as you are only adding a new output variant. Existing systems that rely on ESM will continue to work the same way.
Visual Mockups
None
The text was updated successfully, but these errors were encountered: