FranckFreiburger / vue3-sfc-loader

Single File Component loader for Vue2 and Vue3. Load .vue files directly from your HTML. No node.js environment, no build step.
MIT License
1.03k stars 116 forks source link

Esm package.json fix #134

Closed volkipp closed 5 months ago

volkipp commented 2 years ago

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