You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been thinking (for years now) that this project faces a number of issues regarding platform portability that must have some best-practice solutions in the existing node/browser/typescript ecosystem.
I think I've found a TypeScript based architype to consider at https://github.com/MattiasBuelens/web-streams-polyfill . Just examining the directory structure of this project makes clear some options I've only been guessing at till now.
The web-streams-polyfill package builds into a outputs with different JavaScript target flavors, (e.g. , including versions compatible with several different versions of both Node.js and different browser's. At build time, this is being done using a build-orchestrator tool called rollup.
Both rollup and web-streams-polyfill seem well maintained to have active user communities.
It appears that rollup may be an alternative to webpack for generating browser-consumable packaging, so this may be an alternative approach to implementing #343, and to fixing bugs reported in browser environments like #283, #310, #326, etc.
If anyone interested in the antler4ts has experience with rollup, now would be a good time to speak up.
The text was updated successfully, but these errors were encountered:
I played around with rollup for this quite a bit yesterday. In short, I don't think it'd work due to the circular dependency issues (your bundles would likely fail at runtime):
I've been thinking (for years now) that this project faces a number of issues regarding platform portability that must have some best-practice solutions in the existing node/browser/typescript ecosystem.
I think I've found a TypeScript based architype to consider at https://github.com/MattiasBuelens/web-streams-polyfill . Just examining the directory structure of this project makes clear some options I've only been guessing at till now.
The web-streams-polyfill package builds into a outputs with different JavaScript target flavors, (e.g. , including versions compatible with several different versions of both Node.js and different browser's. At build time, this is being done using a build-orchestrator tool called rollup.
Both rollup and web-streams-polyfill seem well maintained to have active user communities.
It appears that rollup may be an alternative to webpack for generating browser-consumable packaging, so this may be an alternative approach to implementing #343, and to fixing bugs reported in browser environments like #283, #310, #326, etc.
If anyone interested in the antler4ts has experience with rollup, now would be a good time to speak up.
The text was updated successfully, but these errors were encountered: