Declan Naughton

Results 188 comments of Declan Naughton

Since may be temporary and to demo declarative working, OK to try a bad architecture (but not my failed recursive webpack hacking). e.g.... can memo-loader literally exec a compilation, read...

#12 is logic behind "may be temporary": recursive introspection api calls without exec is better architecture

> e.g.... can memo-loader literally exec a compilation, read .introspection.json, and do its thing? Overlapping child compilations a problem? I think so and 'overlapping' mitigation is to copy entrypoint and...

Can this be clean via virtual fs?

> Can this be clean via virtual fs? Maybe, but a negative here is incremental compilation to improve compile time becomes impossible

> > e.g.... can memo-loader literally exec a compilation, read .introspection.json, and do its thing? Overlapping child compilations a problem? > > I think so and 'overlapping' mitigation is to...

I just need a cheap way to do introspection-api processing recursively. Cheap=without relying on exec a separate process, which I expect to work. A browser approach gives us fast devtools...

Note: 0 reqirements for sourcemaps in introspection api #12

Rollup has a working good javascript api and a repl, just use that? Start experimenting? How does this line read main.js? https://github.com/rollup/rollupjs.org/blob/a565fe9d090c93435450d4f42856c9ab9356bf5f/src/stores/rollupOutput.js#L102 its modules and theres a store https://github.com/rollup/rollupjs.org/blob/master/src/components/ReplInput.svelte load...