xhs-mp-pack 2.0.30 → 2.0.31-beta.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.
@@ -123,7 +123,7 @@ class LazyCompilationPlugin {
123
123
  compiler.hooks.thisCompilation.tap('LazyCompilationPlugin', (compilation, { normalModuleFactory }) => {
124
124
  normalModuleFactory.hooks.module.tap('LazyCompilationPlugin', (originalModule, createData, resolveData) => {
125
125
  const { project, packSetting } = compiler;
126
- if (project.appMode !== 'miniprogram') {
126
+ if (project.appMode === 'minigame') {
127
127
  return;
128
128
  }
129
129
  const activePkgs = packSetting.getCompilePkgs();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xhs-mp-pack",
3
- "version": "2.0.30",
3
+ "version": "2.0.31-beta.1",
4
4
  "description": "xhs mp compiler core.",
5
5
  "preferGlobal": true,
6
6
  "category": "esm",
@@ -55,9 +55,9 @@
55
55
  "watchpack": "^2.4.0",
56
56
  "webpack-chain": "^6.5.1",
57
57
  "webpack-sources": "^3.2.3",
58
- "xhs-mp-compiler-utils": "2.0.30",
59
- "xhs-mp-project": "2.0.30",
60
- "xhs-mp-shared-fs": "2.0.30"
58
+ "xhs-mp-compiler-utils": "2.0.31-beta.1",
59
+ "xhs-mp-project": "2.0.31-beta.1",
60
+ "xhs-mp-shared-fs": "2.0.31-beta.1"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@types/babel__generator": "7.6.3",