Skip to content

Commit c87f51b

Browse files
author
Taois
committed
fix: 本地ds不支持JSON5及本地代理
1 parent 05b96f9 commit c87f51b

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

drpy-node-bundle/entry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
import './shim.js';
2-
export * from './localtDsCore.js';
2+
export * from './localDsCore.js';

drpy-node-bundle/libs/localtDsCore.bundled.js renamed to drpy-node-bundle/libs/localDsCore.bundled.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414814,7 +414814,7 @@ var catvod_default = {
414814414814
};
414815414815

414816414816
//#endregion
414817-
//#region localtDsCore.js
414817+
//#region localDsCore.js
414818414818
const __dirname$1 = path.dirname(fileURLToPath(import.meta.url));
414819414819
const isBundled = __dirname$1.endsWith("dist") || __dirname$1.endsWith("libs") || __dirname$1.endsWith("dist" + path.sep) || __dirname$1.endsWith("libs" + path.sep);
414820414820
const possibleRoots = [

drpy-node-bundle/localDsCoreTest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// import * as localtDsCore from './localtDsCore.js';
2-
import * as localtDsCore from './libs/localtDsCore.bundled.js';
1+
// import * as localtDsCore from './localDsCore.js';
2+
import * as localtDsCore from './libs/localDsCore.bundled.js';
33

44
console.log(getEngine)
55
// const a = await getEngine('爱推图[画]', {}, {proxyUrl: "xx"})

drpy-node-bundle/localt5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as localtDsCore from './libs/localtDsCore.bundled.js';
1+
import * as localtDsCore from './libs/localDsCore.bundled.js';
22

33
console.log(getEngine);
44
// global.localtDsCore = localtDsCore;

drpy-node-bundle/rolldown.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const builtins = [
2222
export default defineConfig({
2323
input: 'entry.js',
2424
output: {
25-
file: 'libs/localtDsCore.bundled.js',
25+
file: 'libs/localDsCore.bundled.js',
2626
format: 'esm',
2727
sourcemap: false,
2828
inlineDynamicImports: true,

0 commit comments

Comments
 (0)