xhs-mp-compiler-cli 1.1.0-beta.0 → 1.1.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/dist/packs/webpack/index.d.ts +1 -1
- package/dist/presets/configs/minigame/assets/assetsEntryPlugin.d.ts +2 -2
- package/dist/presets/configs/minigame/assets/index.d.ts +0 -1
- package/dist/presets/configs/minigame/service/index.js +1 -1
- package/dist/presets/index.d.ts +1 -1
- package/dist/presets/index.js +1 -1
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ICompiler
|
|
1
|
+
import { ICompiler } from '../../../../packs';
|
|
2
2
|
import { IPresetOptions } from '../../../../types';
|
|
3
3
|
declare class MpEntryPlugin {
|
|
4
4
|
options: IPresetOptions;
|
|
5
5
|
constructor(options: IPresetOptions);
|
|
6
6
|
apply(compiler: ICompiler): void;
|
|
7
7
|
getAppJson(appJSON: any): Record<string, RawSource>;
|
|
8
|
-
getLegacyAppJSON(appJSON: any):
|
|
8
|
+
getLegacyAppJSON(appJSON: any): any;
|
|
9
9
|
}
|
|
10
10
|
export default MpEntryPlugin;
|
|
@@ -18,9 +18,9 @@ const presetService = (chain, options) => {
|
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
chain.plugin('InjectorPlugin').use(InjectorPlugin_1.InjectorPlugin, [options]);
|
|
21
|
-
chain.resolve.plugin('ResolveLimitPlugin').use(resolveLimitPlugin_1.default, [options]);
|
|
22
21
|
chain.plugin('ServiceEntryPlugin').use(serviceEntryPlugin_1.default, [options]);
|
|
23
22
|
chain.plugin('ServiceChunkPlugin').use(serviceChunkPlugin_1.default, [options]);
|
|
23
|
+
chain.resolve.plugin('ResolveLimitPlugin').use(resolveLimitPlugin_1.default, [options]);
|
|
24
24
|
chain.optimization
|
|
25
25
|
.runtimeChunk({
|
|
26
26
|
name: 'runtime'
|
package/dist/presets/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IPresetOptions } from '../types';
|
|
2
|
-
export declare const createConfigs: (options: IPresetOptions) =>
|
|
2
|
+
export declare const createConfigs: (options: IPresetOptions) => any[];
|
package/dist/presets/index.js
CHANGED
|
@@ -13,7 +13,7 @@ const assets_1 = require("./configs/miniprogram/assets");
|
|
|
13
13
|
const service_1 = require("./configs/miniprogram/service");
|
|
14
14
|
const render_1 = require("./configs/miniprogram/render");
|
|
15
15
|
const assets_2 = require("./configs/minigame/assets");
|
|
16
|
-
const service_2 = require("./configs/
|
|
16
|
+
const service_2 = require("./configs/minigame/service");
|
|
17
17
|
/**
|
|
18
18
|
* 小程序编译配置
|
|
19
19
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xhs-mp-compiler-cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "xhs mp command tool.",
|
|
5
5
|
"preferGlobal": true,
|
|
6
6
|
"category": "esm",
|
|
@@ -77,10 +77,10 @@
|
|
|
77
77
|
"webpack-bundle-analyzer": "^4.4.0",
|
|
78
78
|
"webpack-chain": "^6.5.1",
|
|
79
79
|
"webpack-sources": "^3.2.2",
|
|
80
|
-
"xhs-mp-compiler-ml-loader": "1.1.0
|
|
81
|
-
"xhs-mp-compiler-utils": "1.1.0
|
|
82
|
-
"xhs-mp-pack": "^1.1.0
|
|
83
|
-
"xhs-mp-project": "^1.1.0
|
|
80
|
+
"xhs-mp-compiler-ml-loader": "1.1.0",
|
|
81
|
+
"xhs-mp-compiler-utils": "1.1.0",
|
|
82
|
+
"xhs-mp-pack": "^1.1.0",
|
|
83
|
+
"xhs-mp-project": "^1.1.0"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@types/babel__generator": "7.6.3",
|