-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
We have not seen success bundling an ES5 monolithic module that works for both Node & Web. We've tried this using Webpack & Babel. You can find the project we tried this in here: https://github.com/dOrgTech/the-graph-mutations-spec/tree/master/example/subgraph/src/mutations
In order to test this, I'd suggest creating a simple test project that has 3 folders:
bundle- simple Typescript project that includes some commonly used packages like ipfs-https-client & ethers.js.node-app- simple node app that includesbundle's built module.web-app- simple web app that includesbundle's built module.
More discussion around this issue can be found here: graphprotocol/rfcs#10 (comment)
Metadata
Metadata
Assignees
Labels
No labels