Closed vaibhavshn closed 11 months ago
I have the same package.json as this one: https://github.com/ionic-team/stencil-component-starter/blob/56716b350c27f750dc10acba2b103a44abb04fcd/package.json.
I can't find what these fields are for.
Checked:
Thanks @vaibhavshn!
This does appear to be a bug - both of those fields should end in the .js
extension instead of .mjs
- happy to aceept a PR is you're still interested!
The es2015 and es2017 fields in package.json point to
dist/esm/index.mjs
which is non-existent in the latest project scaffolded withnpm init stencil
.The only esm file seems to be
dist/esm/index.js
.Will create a PR for the same in case this is a bug.