Closed afrith closed 5 years ago
Makes sense, I've updated it so that the existing ESM build remains at dist/main.js
and the UMD is built at dist/main.umd.js
. I'm not sure if there's anything in package.json
that would also need to be changed for this?
I'm not sure if there's anything in package.json that would also need to be changed for this?
There is.
The esm build should be referenced under a module
key instead of main
.
The umd module should the one in main
This PR adds Webpack configuration to the client library build process that does two things.