diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/Properties/Resources.Designer.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/Properties/Resources.Designer.cs
index 5a64307..f7153be 100644
--- a/WelsonJS.Toolkit/WelsonJS.Launcher/Properties/Resources.Designer.cs
+++ b/WelsonJS.Toolkit/WelsonJS.Launcher/Properties/Resources.Designer.cs
@@ -60,6 +60,15 @@ namespace WelsonJS.Launcher.Properties {
}
}
+ ///
+ /// https://ajax.aspnetcdn.com/과(와) 유사한 지역화된 문자열을 찾습니다.
+ ///
+ internal static string AspNetCdnPrefix {
+ get {
+ return ResourceManager.GetString("AspNetCdnPrefix", resourceCulture);
+ }
+ }
+
///
/// 과(와) 유사한 지역화된 문자열을 찾습니다.
///
@@ -160,6 +169,15 @@ namespace WelsonJS.Launcher.Properties {
}
}
+ ///
+ /// https://ajax.googleapis.com/과(와) 유사한 지역화된 문자열을 찾습니다.
+ ///
+ internal static string GoogleApisPrefix {
+ get {
+ return ResourceManager.GetString("GoogleApisPrefix", resourceCulture);
+ }
+ }
+
///
/// System.Drawing.Bitmap 형식의 지역화된 리소스를 찾습니다.
///
@@ -268,6 +286,15 @@ namespace WelsonJS.Launcher.Properties {
}
}
+ ///
+ /// https://polyfill-fastly.io/과(와) 유사한 지역화된 문자열을 찾습니다.
+ ///
+ internal static string PolyfillPrefix {
+ get {
+ return ResourceManager.GetString("PolyfillPrefix", resourceCulture);
+ }
+ }
+
///
/// https://github.com/gnh1201/welsonjs과(와) 유사한 지역화된 문자열을 찾습니다.
///
diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/Properties/Resources.resx b/WelsonJS.Toolkit/WelsonJS.Launcher/Properties/Resources.resx
index e939c48..16c50ca 100644
--- a/WelsonJS.Toolkit/WelsonJS.Launcher/Properties/Resources.resx
+++ b/WelsonJS.Toolkit/WelsonJS.Launcher/Properties/Resources.resx
@@ -205,4 +205,13 @@
https://unpkg.com/
+
+ https://ajax.aspnetcdn.com/
+
+
+ https://ajax.googleapis.com/
+
+
+ https://polyfill-fastly.io/
+
\ No newline at end of file
diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceServer.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceServer.cs
index 6d5ce06..652275f 100644
--- a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceServer.cs
+++ b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceServer.cs
@@ -201,12 +201,16 @@ namespace WelsonJS.Launcher
var sources = new (bool isMatch, string configKey, Func transform)[]
{
(path.StartsWith("ajax/libs/"), "CdnJsPrefix", p => p),
+ (path.StartsWith("ajax/libs/"), "GoogleApisPrefix", p => p),
(isNodePackageExpression, "UnpkgPrefix", p => p),
(isNodePackageExpression, "SkypackPrefix", p => p),
(isNodePackageExpression, "EsmShPrefix", p => p),
(isNodePackageExpression, "EsmRunPrefix", p => p),
(path.StartsWith("npm/") || path.StartsWith("gh/") || path.StartsWith("wp/"), "JsDeliverPrefix", p => p),
- (path.StartsWith("jquery/") && path.Length > "jquery/".Length, "JqueryCdnPrefix", p => p.Substring("jquery/".Length)),
+ (path.StartsWith("jquery/"), "JqueryCdnPrefix", p => p.Substring("jquery/".Length)),
+ (path.StartsWith("polyfill/"), "CdnJsPrefix", p => p), // polyfill.js from Cloudflare
+ (path.StartsWith("polyfill/"), "PolyfillPrefix", p => p.Substring("polyfill/".Length)), // polyfill.js from Fastly
+ (path.StartsWith("aspnet/"), "AspNetCdnPrefix", p => p.Substring("aspnet/".Length)),
(true, "BlobStoragePrefix", p => p) // fallback
};
diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/app.config b/WelsonJS.Toolkit/WelsonJS.Launcher/app.config
index 8cc77e5..3f71ea0 100644
--- a/WelsonJS.Toolkit/WelsonJS.Launcher/app.config
+++ b/WelsonJS.Toolkit/WelsonJS.Launcher/app.config
@@ -20,6 +20,8 @@
+
+