@modern-js/plugin-garfish 1.5.0 → 1.5.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.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @modern-js/plugin-garfish
2
2
 
3
+ ## 1.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 6451a098: fix: cyclic dependencies of @modern-js/core and @moden-js/webpack
8
+ - 45d5643a: feat(webpack): support modify html-webpack-plugin
9
+ - Updated dependencies [be7262e2]
10
+ - Updated dependencies [6451a098]
11
+ - Updated dependencies [d5a2cfd8]
12
+ - Updated dependencies [437367c6]
13
+ - @modern-js/runtime-core@1.4.7
14
+ - @modern-js/utils@1.7.6
15
+ - @modern-js/plugin-router@1.2.14
16
+
3
17
  ## 1.5.0
4
18
 
5
19
  ### Minor Changes
@@ -150,7 +150,7 @@ export default (({
150
150
 
151
151
  if (!enableHtmlEntry) {
152
152
  chain.output.filename('index.js');
153
- chain.plugins.delete('html-main');
153
+ chain.plugins.delete(`${CHAIN_ID.PLUGIN.HTML}-main`);
154
154
  chain.optimization.runtimeChunk(false);
155
155
  chain.optimization.splitChunks({
156
156
  chunks: 'async'
@@ -167,7 +167,7 @@ var _default = ({
167
167
 
168
168
  if (!enableHtmlEntry) {
169
169
  chain.output.filename('index.js');
170
- chain.plugins.delete('html-main');
170
+ chain.plugins.delete(`${CHAIN_ID.PLUGIN.HTML}-main`);
171
171
  chain.optimization.runtimeChunk(false);
172
172
  chain.optimization.splitChunks({
173
173
  chunks: 'async'
@@ -162,7 +162,7 @@ export default (function () {
162
162
 
163
163
  if (!_enableHtmlEntry) {
164
164
  chain.output.filename('index.js');
165
- chain.plugins["delete"]('html-main');
165
+ chain.plugins["delete"]("".concat(CHAIN_ID.PLUGIN.HTML, "-main"));
166
166
  chain.optimization.runtimeChunk(false);
167
167
  chain.optimization.splitChunks({
168
168
  chunks: 'async'
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.5.0",
14
+ "version": "1.5.1",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/runtime/index.d.ts",
17
17
  "typesVersions": {
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@babel/runtime": "^7",
53
- "@modern-js/utils": "^1.7.5",
53
+ "@modern-js/utils": "^1.7.6",
54
54
  "@types/debug": "^4.1.7",
55
55
  "@types/react-loadable": "^5.5.6",
56
56
  "debug": "^4.3.2",
@@ -59,10 +59,10 @@
59
59
  "react-loadable": "^5.5.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@modern-js/core": "1.11.0",
62
+ "@modern-js/core": "1.11.1",
63
63
  "@modern-js/plugin-router": "1.2.14",
64
- "@modern-js/runtime-core": "1.4.6",
65
- "@modern-js/types": "1.5.3",
64
+ "@modern-js/runtime-core": "1.4.7",
65
+ "@modern-js/types": "1.5.4",
66
66
  "@scripts/build": "0.0.0",
67
67
  "@scripts/jest-config": "0.0.0",
68
68
  "@testing-library/jest-dom": "^5.16.1",
@@ -84,7 +84,7 @@
84
84
  },
85
85
  "peerDependencies": {
86
86
  "@modern-js/plugin-router": "^1.2.14",
87
- "@modern-js/runtime-core": "^1.4.6",
87
+ "@modern-js/runtime-core": "^1.4.7",
88
88
  "react": "^17"
89
89
  },
90
90
  "sideEffects": false,