@akashic/akashic-engine
Advanced tools
Comparing version 3.18.0 to 3.18.1
@@ -57,3 +57,2 @@ "use strict"; | ||
var moduleMainScripts = this._assetManager._moduleMainScripts; | ||
var moduleMainPaths = this._assetManager._moduleMainPaths; | ||
// 0. アセットIDらしい場合はまず当該アセットを探す | ||
@@ -76,4 +75,4 @@ if (path.indexOf("/") === -1) { | ||
// akashic-engine独自仕様: 対象の `path` が `moduleMainScripts` に指定されていたらそちらを参照する | ||
// moduleMainScripts は将来的に非推奨となるため、moduleMainPaths が存在しない場合だけ参照する | ||
if (!moduleMainPaths && moduleMainScripts[path]) { | ||
// moduleMainScripts は将来的に非推奨となるが、後方互換性のため moduleMainScripts が存在すれば moduleMainScripts を優先する | ||
if (moduleMainScripts[path]) { | ||
targetScriptAsset = liveAssetVirtualPathTable[resolvedPath]; | ||
@@ -128,3 +127,2 @@ } | ||
var moduleMainScripts = this._assetManager._moduleMainScripts; | ||
var moduleMainPaths = this._assetManager._moduleMainPaths; | ||
// require(X) from module at path Y | ||
@@ -161,4 +159,4 @@ // 1. If X is a core module, | ||
// akashic-engine独自仕様: 対象の `path` が `moduleMainScripts` に指定されていたらそちらを返す | ||
// moduleMainScripts は将来的に非推奨となるため、moduleMainPaths が存在しない場合だけ参照する | ||
if (!moduleMainPaths && moduleMainScripts[path]) { | ||
// moduleMainScripts は将来的に非推奨となるが、後方互換性のため moduleMainScripts が存在すれば moduleMainScripts を優先する | ||
if (moduleMainScripts[path]) { | ||
return moduleMainScripts[path]; | ||
@@ -165,0 +163,0 @@ } |
{ | ||
"name": "@akashic/akashic-engine", | ||
"version": "3.18.0", | ||
"version": "3.18.1", | ||
"description": "The core library of Akashic Engine", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"prettier": "^3.0.3", | ||
"rimraf": "^5.0.0", | ||
"rimraf": "^6.0.0", | ||
"rollup": "^4.0.0", | ||
@@ -27,0 +27,0 @@ "rollup-plugin-commonjs": "^10.1.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1589096
27444