Closed gustawdaniel closed 6 months ago
I have type: module in package.json
type: module
Now I am using
import safeStringify from 'fast-safe-stringify';
and
safeStringify.default(incident)
I would prefer to hide this .defaut in the library code so it should be built as esm and cjs version.
.defaut
Would you like to send a PR to add a module.exports.stringify = safeStringify?
module.exports.stringify = safeStringify
I have
type: module
in package.jsonNow I am using
and
I would prefer to hide this
.defaut
in the library code so it should be built as esm and cjs version.