Open richard-jones opened 3 months ago
@varadekd I've added my requirements for the build if you want to take a look and see how rollup fits the bill.
@richard-jones I have understood the requirement, I will start working on this once I have completed working on #34.
@richard-jones
In the current form, it is little hard for us to create the build as per our requirements. As most of the bundle available are module based bundle. I tried using esbuild but the globalName seems to have a little bit of issues which are failing when using it in execution.
Here are two things we can try out, when we are re architecture
These are my requirements for any kind of build system we introduce:
edges
andes
but also to allow clients to have global namespaces (e.g.doaj
). It should not wrap the resulting built code in an IIFE, or if it does, the IIFE should produce a code module which is mounted on a global namespace, and reflects the structure of the written code.import es
should be able to accept thates
may be one of a selection of possible librariesimport es
as per node, or simply a call toes.doQuery
wherees
will be satisfied at run time in the browser.