gray-matter icon indicating copy to clipboard operation
gray-matter copied to clipboard

code moved to modern ESM format

Open yankeeinlondon opened this issue 2 years ago • 2 comments

I've updated the code as little as possible but moved to ES Module format for the core source code while using the popular tsup tooling to ensure the downstream users can choose between ESM and CJS. I also upgraded to all the latests versions and ensured that all tests still pass.

yankeeinlondon avatar Jul 20 '22 17:07 yankeeinlondon

Oh i have also updated README and CHANGELOG to reflect what would need to be a new major release (aka, v5.0.0)

yankeeinlondon avatar Jul 20 '22 17:07 yankeeinlondon

so that I may use this new build I have allowed the dist folder to be included in git so that I can link to it in the short term. in general most people remove this if they have a regular npm cadence but I can see both being useful here.

yankeeinlondon avatar Jul 20 '22 18:07 yankeeinlondon