@artus/core
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -53,4 +53,2 @@ "use strict"; | ||
for (const item of itemList) { | ||
item.path = root ? path.join(root, item.path) : item.path; | ||
item.loader = (_a = item.loader) !== null && _a !== void 0 ? _a : constant_1.DEFAULT_LOADER; | ||
if (!itemMap.has(item.loader)) { | ||
@@ -60,3 +58,3 @@ // compatible for custom loader | ||
} | ||
itemMap.get(item.loader).push(item); | ||
itemMap.get(item.loader).push(Object.assign(Object.assign({}, item), { path: root ? path.join(root, item.path) : item.path, loader: (_a = item.loader) !== null && _a !== void 0 ? _a : constant_1.DEFAULT_LOADER })); | ||
} | ||
@@ -63,0 +61,0 @@ // trigger loader |
{ | ||
"name": "@artus/core", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Core package of Artus", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108862
2593