@mpxjs/webpack-plugin 2.7.0-alpha → 2.7.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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -1173,7 +1173,7 @@ class MpxWebpackPlugin {
1173
1173
  name: 'MpxWebpackPlugin',
1174
1174
  stage: compilation.PROCESS_ASSETS_STAGE_ADDITIONS
1175
1175
  }, () => {
1176
- if (mpx.mode === 'web') return
1176
+ if (mpx.mode === 'web' || mpx.mode === 'tenon') return
1177
1177
 
1178
1178
  if (this.options.generateBuildMap) {
1179
1179
  const pagesMap = compilation.__mpx__.pagesMap
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/webpack-plugin",
3
- "version": "2.7.0-alpha",
3
+ "version": "2.7.0-alpha.1",
4
4
  "description": "mpx compile core",
5
5
  "keywords": [
6
6
  "mpx"
@@ -83,5 +83,5 @@
83
83
  "engines": {
84
84
  "node": ">=14.14.0"
85
85
  },
86
- "gitHead": "00ed5b8ad381d9b718828b5e169b1ce5cc45c3a6"
86
+ "gitHead": "886bbdc1817b93e292814742fdad4a60d4e929b3"
87
87
  }