@garfish/loader
Advanced tools
Comparing version 0.0.38-alpha.5 to 0.0.40
@@ -209,5 +209,6 @@ 'use strict'; | ||
function transformUrl(resolvePath, curPath) { | ||
const baseUrl = new URL(resolvePath, location.href); | ||
const realPath = new URL(curPath, baseUrl.href); | ||
return realPath.href; | ||
// const baseUrl = new URL(resolvePath, location.href); | ||
// const realPath = new URL(curPath, baseUrl.href); | ||
// return realPath.href; | ||
return curPath; | ||
} | ||
@@ -214,0 +215,0 @@ |
@@ -199,5 +199,6 @@ 'use strict'; | ||
function transformUrl(resolvePath, curPath) { | ||
const baseUrl = new URL(resolvePath, location.href); | ||
const realPath = new URL(curPath, baseUrl.href); | ||
return realPath.href; | ||
// const baseUrl = new URL(resolvePath, location.href); | ||
// const realPath = new URL(curPath, baseUrl.href); | ||
// return realPath.href; | ||
return curPath; | ||
} | ||
@@ -204,0 +205,0 @@ |
@@ -205,5 +205,6 @@ /*! ***************************************************************************** | ||
function transformUrl(resolvePath, curPath) { | ||
const baseUrl = new URL(resolvePath, location.href); | ||
const realPath = new URL(curPath, baseUrl.href); | ||
return realPath.href; | ||
// const baseUrl = new URL(resolvePath, location.href); | ||
// const realPath = new URL(curPath, baseUrl.href); | ||
// return realPath.href; | ||
return curPath; | ||
} | ||
@@ -210,0 +211,0 @@ |
@@ -205,5 +205,6 @@ /*! ***************************************************************************** | ||
function transformUrl(resolvePath, curPath) { | ||
const baseUrl = new URL(resolvePath, location.href); | ||
const realPath = new URL(curPath, baseUrl.href); | ||
return realPath.href; | ||
// const baseUrl = new URL(resolvePath, location.href); | ||
// const realPath = new URL(curPath, baseUrl.href); | ||
// return realPath.href; | ||
return curPath; | ||
} | ||
@@ -210,0 +211,0 @@ |
@@ -211,5 +211,6 @@ (function (global, factory) { | ||
function transformUrl(resolvePath, curPath) { | ||
const baseUrl = new URL(resolvePath, location.href); | ||
const realPath = new URL(curPath, baseUrl.href); | ||
return realPath.href; | ||
// const baseUrl = new URL(resolvePath, location.href); | ||
// const realPath = new URL(curPath, baseUrl.href); | ||
// return realPath.href; | ||
return curPath; | ||
} | ||
@@ -216,0 +217,0 @@ |
{ | ||
"name": "@garfish/loader", | ||
"version": "0.0.38-alpha.5", | ||
"version": "0.0.40", | ||
"description": "loader module.", | ||
@@ -40,3 +40,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "aaf3f137a5820c92bc3b025ae25b0a3a678fbdf5" | ||
"gitHead": "a646b7671989791a9243a67bbcd3baacaf88de9e" | ||
} |
202705
5403