When using a bundler (webpack, parcel, etc), it is advantageous to have the original version available, since it will be run through another transpiler anyways (for intellisense, tree shaking, etc).
Should be as easy as publishing the "src" folder, and adding "module": "src/index.js" to package.json (reference)
When using a bundler (webpack, parcel, etc), it is advantageous to have the original version available, since it will be run through another transpiler anyways (for intellisense, tree shaking, etc).
Should be as easy as publishing the "src" folder, and adding
"module": "src/index.js"
to package.json (reference)