Open
Description
Hi. I totally get that "Packaging for browsers is currently highly experimental".
But to make it easier to play with.. would there be an objection to updating the prepublishOnly
npm script
- from:
"prepublishOnly": "npm run build",
- to:
"prepublishOnly": "npm run build && npm run browser:build",
- so for subsequent releases:
<script type="text/javascript" src="ipfs-lite.all.min.js"></script>
If the size the bundle adds to the npm package is an issue, then could it be attached to its corresponding tagged release?
PS. If size is a concern, you may also consider adding an .npmignore
file to exclude everything in the repo except the dist/
directory generated by the build
tasks.
Activity