We need a mechanism that will load the compiler JS into a projects webpage using a require or import declaration. The main purpose of the loader is to load the compiled JS module into a webpage, and execute the renderer process.
Specification
The loader needs to be able to look for a static pre-compiled JS module to import into the JS scope of the webpage, or function as a service that dynamically compiles the JS by calling the the compiler on the server side, and returning the JS module to be loaded into the webpage.
Overview
We need a mechanism that will load the compiler JS into a projects webpage using a
require
orimport
declaration. The main purpose of the loader is to load the compiled JS module into a webpage, and execute the renderer process.Specification
The loader needs to be able to look for a static pre-compiled JS module to import into the JS scope of the webpage, or function as a service that dynamically compiles the JS by calling the the compiler on the server side, and returning the JS module to be loaded into the webpage.