@sidesuit/pkg-module-proxy 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,9 +13,9 @@ export declare global {
13
13
  // window.require
14
14
  rq(module: string): any;
15
15
  // 定义需要代理的模块
16
- defineModule: DefineModuleFunction;
16
+ defineModule: DefineModuleFunction<any, any>;
17
17
  // 模块代理
18
- moduleProxyDefine: ModuleProxyDefineFunction;
18
+ moduleProxyDefine: ModuleProxyDefineFunction<any, any>;
19
19
  // 模块 debug
20
20
  moduleDebugDefine: ModuleDebugDefineFunction;
21
21
  // 模块代码替换
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "@sidesuit/pkg-module-proxy",
3
3
  "private": false,
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "type": "module",
6
6
  "main": "./dist/index.iife.js",
7
7
  "module": "./dist/index.iife.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "files": [
10
- "dist",
11
- "src/global.d.ts"
10
+ "dist"
12
11
  ],
13
12
  "scripts": {
14
13
  "serve": "vite",
@@ -28,6 +27,7 @@
28
27
  "react": "^18.2.0",
29
28
  "tsc-alias": "^1.8.2",
30
29
  "typescript": "^4.9.3",
31
- "vite": "^4.0.3"
30
+ "vite": "^4.0.3",
31
+ "vite-plugin-static-copy": "^0.13.1"
32
32
  }
33
33
  }