Skip to content

Commit ca7972c

Browse files
authored
chore: use jsdelivr which is faster than unpkg.com in mainland China (alibaba#1116)
1 parent 8f6b53e commit ca7972c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

modules/code-generator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alilc/lowcode-code-generator",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "出码引擎 for LowCode Engine",
55
"license": "MIT",
66
"main": "lib/index.js",

modules/code-generator/src/standalone-loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ declare const __PACKAGE_VERSION__: string;
88

99
const packageVersion = __PACKAGE_VERSION__ || 'latest';
1010

11-
export const DEFAULT_WORKER_JS = `https://unpkg.com/@alilc/lowcode-code-generator@${packageVersion}/dist/standalone-worker.min.js`;
11+
export const DEFAULT_WORKER_JS = `https://cdn.jsdelivr.net/npm/@alilc/lowcode-code-generator@${packageVersion}/dist/standalone-worker.min.js`;
1212

1313
export const DEFAULT_TIMEOUT_IN_MS = 60 * 1000;
1414

0 commit comments

Comments
 (0)