Closed evanw closed 2 years ago
I wanted to try out this package so I followed the instructions. However, that fails with the following error:
Error: Cannot find module './node_modules/es-module-lexer/dist/lexer.cjs'
This is because lexer.cjs wasn't published. Perhaps the instructions for CommonJS could be removed if this is intended to be an ESM-only package?
lexer.cjs
I just happened to publish 1.0 yesterday evening and didn't run a full build which missed this. It should work now with the 1.0.1 release.
I wanted to try out this package so I followed the instructions. However, that fails with the following error:
This is because
lexer.cjs
wasn't published. Perhaps the instructions for CommonJS could be removed if this is intended to be an ESM-only package?