diff --git a/compiler/main.js b/compiler/main.js index 7f6761f..c999683 100644 --- a/compiler/main.js +++ b/compiler/main.js @@ -312,6 +312,13 @@ function filterWorker(workerPath) { } })(); +;(function readSystemModules() { + const systemModulesPath = path.resolve(__dirname,'../../api'); + if (fs.existsSync(systemModulesPath)) { + systemModules.push(...fs.readdirSync(systemModulesPath)); + } +})() + function readAppResource(resources, filePath) { if (fs.existsSync(filePath)) { const appResource = fs.readFileSync(filePath, "utf-8");