Updating the main, modules, and types fields in package.json. This makes the ESM version work with NodeJS 14+ mjs files. There may be something else happening with the commonjs version and Node, but at least when I loaded my .mjs node program, I could make this library work using the changed package.json file.
Updating the main, modules, and types fields in package.json. This makes the ESM version work with NodeJS 14+ mjs files. There may be something else happening with the commonjs version and Node, but at least when I loaded my .mjs node program, I could make this library work using the changed package.json file.
Related to https://github.com/FranckFreiburger/vue3-sfc-loader/issues/132