@zohodesk/react-cli 1.1.5-exp.4 → 1.1.5-exp.5
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +3 -0
- package/lib/common/splitChunks.js +3 -3
- package/lib/schemas/index.js +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
@@ -44,6 +44,9 @@ Now to run app
|
|
44
44
|
|
45
45
|
# Change Logs
|
46
46
|
|
47
|
+
# 1.1.5-exp.5
|
48
|
+
- fixed the issues regarding custom chunks base config schema.
|
49
|
+
|
47
50
|
# 1.1.5-exp.4
|
48
51
|
- added support for using regex expression to get group of chunks chunkId via Resource Hint plugin prefetch/preload hook.
|
49
52
|
|
@@ -59,7 +59,7 @@ function rulesMatcher(pattern) {
|
|
59
59
|
}
|
60
60
|
|
61
61
|
const baseSplitChunkConfig = Object.assign({
|
62
|
-
minSize:
|
62
|
+
minSize: 15000
|
63
63
|
}, customChunksBaseConfig);
|
64
64
|
const specificCacheGroupConfig = {
|
65
65
|
'react.vendor': {
|
@@ -125,11 +125,11 @@ customChunks.map((obj, index) => ({
|
|
125
125
|
obj.maxSize = maxSize;
|
126
126
|
}
|
127
127
|
|
128
|
-
if (name) {
|
128
|
+
if (name !== undefined) {
|
129
129
|
obj.name = name;
|
130
130
|
}
|
131
131
|
|
132
|
-
if (reuseExistingChunk) {
|
132
|
+
if (reuseExistingChunk !== undefined) {
|
133
133
|
obj.reuseExistingChunk = reuseExistingChunk;
|
134
134
|
}
|
135
135
|
|
package/lib/schemas/index.js
CHANGED
package/npm-shrinkwrap.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zohodesk/react-cli",
|
3
|
-
"version": "1.1.5-exp.
|
3
|
+
"version": "1.1.5-exp.5",
|
4
4
|
"lockfileVersion": 2,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "@zohodesk/react-cli",
|
9
|
-
"version": "1.1.5-exp.
|
9
|
+
"version": "1.1.5-exp.5",
|
10
10
|
"license": "ISC",
|
11
11
|
"dependencies": {
|
12
12
|
"@babel/cli": "7.10.5",
|