oipage 1.4.0-alpha.0 → 1.4.0-alpha.1
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.
- package/CHANGELOG +1 -1
- package/bin/serve.d.ts +4 -8
- package/nodejs/animation/index.js +1 -1
- package/nodejs/cmdlog/index.js +1 -1
- package/nodejs/disk/index.js +1 -1
- package/nodejs/json/index.js +1 -1
- package/nodejs/logform/index.js +1 -1
- package/nodejs/reader/index.js +1 -1
- package/nodejs/throttle/index.js +1 -1
- package/package.json +1 -1
- package/web/animation/index.js +1 -1
- package/web/json/index.js +1 -1
- package/web/onReady/index.js +1 -1
- package/web/performChunk/index.js +1 -1
- package/web/reader/index.js +1 -1
- package/web/style/index.js +1 -1
- package/web/throttle/index.js +1 -1
package/CHANGELOG
CHANGED
package/bin/serve.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ interface DevServerType {
|
|
|
4
4
|
/**
|
|
5
5
|
* 服务器端口号
|
|
6
6
|
*/
|
|
7
|
-
port
|
|
7
|
+
port: number
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* 服务器根路径
|
|
11
11
|
*/
|
|
12
|
-
baseUrl
|
|
12
|
+
baseUrl: string
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
interface InterceptType {
|
|
@@ -36,7 +36,7 @@ interface ConfigType {
|
|
|
36
36
|
/**
|
|
37
37
|
* 服务器运行配置
|
|
38
38
|
*/
|
|
39
|
-
devServer
|
|
39
|
+
devServer: DevServerType
|
|
40
40
|
|
|
41
41
|
intercept?: Array<InterceptType>
|
|
42
42
|
|
|
@@ -48,8 +48,4 @@ interface ConfigType {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
(config: ConfigType): void
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export default ServeType
|
|
51
|
+
export default function (config?: ConfigType): void
|
package/nodejs/cmdlog/index.js
CHANGED
package/nodejs/disk/index.js
CHANGED
package/nodejs/json/index.js
CHANGED
package/nodejs/logform/index.js
CHANGED
package/nodejs/reader/index.js
CHANGED
package/nodejs/throttle/index.js
CHANGED
package/package.json
CHANGED
package/web/animation/index.js
CHANGED
package/web/json/index.js
CHANGED
package/web/onReady/index.js
CHANGED
package/web/reader/index.js
CHANGED
package/web/style/index.js
CHANGED
package/web/throttle/index.js
CHANGED