• I'm unsure about how rollup would work in the Web IDE though - doesn't it expect to be able to pull in NPM modules? I don't see how that'd work at all when running in the browser.

    It should be possible to make it work. Rollup doesn't pull anything on its own. Only the https://github.com/opichals/rollup-plugi­n-espruino-modules/blob/master/espruino-­tools.js is actually fetching stuff from espruino.com and we could update this for sure (using CORS it would work even from the IDE hosted anywhere). You can replace the default loader to do anything - it doesn't have to touch any filesystem IMO.

    With babel and the rest it might be a different story, but there is again the babel-standalone which is easily runnable in the browser if required.

    @Gordon Storage module resolution would be a nice thing to have if the IDE would allow synchronizing them would sound as an interesting feature.

About

Avatar for opichals @opichals started