update worker
This commit is contained in:
1 parent
b3b4e9e43f
commit
d1781f8b1d
5 files changed
+1854
-1041
No files matched your search
+2
-4
@@ -37,9 +37,7 @@ exports.initPath = (pathName) => {
|
||||
_pathConfig.uglifyBuildPath = _config.build + '/pages/' + pathName + '/index.js';
|
||||
|
||||
//tmod build目录
|
||||
_pathConfig.tmodBuildPath = _config.base + '/pages/' + pathName + '/**/*.tmod';
|
||||
_pathConfig.tmodBasePath = _config.base + '/pages/';
|
||||
_pathConfig.tmodOutPath = _config.base + '/script/tmodjs/';
|
||||
_pathConfig.artBuildPath = _config.base + '/pages/' + pathName + '/**/*.art';
|
||||
|
||||
return _pathConfig;
|
||||
}
|
||||
@@ -67,7 +65,7 @@ exports.siwgConfig = () => {
|
||||
let url = '../' + _config.base + '/pages/' + _pathConfig.currPath + '/data.json';
|
||||
delete require.cache[require.resolve(url)]
|
||||
let swigData = require(url);
|
||||
|
||||
|
||||
swigData.now = function () {
|
||||
return new Date().getTime()
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user