openmastery / semantic-ui-theme

Theme editor and manager for the Semantic-UI framework
MIT License
15 stars 0 forks source link

Create JS Module Loader #4

Open p3nGu1nZz opened 6 years ago

p3nGu1nZz commented 6 years ago

Overview

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.