feat: default require nodejs module

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2020-04-07 22:20:53 +08:00
parent 28db77333e
commit 87c78f7c6f
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>pw.yumc</groupId> <groupId>pw.yumc</groupId>
<artifactId>MiaoScript</artifactId> <artifactId>MiaoScript</artifactId>
<version>0.4.1</version> <version>0.4.2</version>
<developers> <developers>
<developer> <developer>
<id>502647092</id> <id>502647092</id>
@ -54,6 +54,7 @@
<properties> <properties>
<env.GIT_COMMIT>DEV</env.GIT_COMMIT> <env.GIT_COMMIT>DEV</env.GIT_COMMIT>
<update.changes> <update.changes>
§620-04-07 §afeat: 默认初始化 内建 nodejs 模块;
§620-04-03 §afeat: 优化 框架卸载逻辑; §620-04-03 §afeat: 优化 框架卸载逻辑;
§620-03-31 §afeat: require 新增 内建 nodejs 模块; §620-03-31 §afeat: require 新增 内建 nodejs 模块;
§620-03-03 §afeat: require 新增 淘宝镜像源拉取; §620-03-03 §afeat: require 新增 淘宝镜像源拉取;

View File

@ -17,5 +17,6 @@
console.log("Loading Engine at Thread", java.lang.Thread.currentThread().name) console.log("Loading Engine at Thread", java.lang.Thread.currentThread().name)
global.require = engineLoad(global.root + '/core/require.js')(root); global.require = engineLoad(global.root + '/core/require.js')(root);
require('@ms/ployfill') require('@ms/ployfill')
require('@ms/nodejs')
} }
); );