Closed tqma113 closed 2 months ago
farrow-schema has its subpath
farrow-schema
farrow-schema/validator
farrow-schema/formatter
So exports in package.json will be needed.
exports
package.json
If we need a real esm module in node.js, I prefer .mjs extension like what remesh do (build.esm.js).
esm module
node.js
.mjs
remesh
Note: Make sure it can run esm module in node.js natively.
farrow-schema
has its subpathfarrow-schema/validator
farrow-schema/formatter
So
exports
inpackage.json
will be needed.If we need a real
esm module
innode.js
, I prefer.mjs
extension like whatremesh
do (build.esm.js).Note: Make sure it can run esm module in node.js natively.