Update examples
This commit is contained in:
parent
0448c1c338
commit
bf7337e935
|
@ -49,7 +49,7 @@ module.exports = {
|
|||
})
|
||||
],
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
```
|
||||
|
|
|
@ -18,6 +18,6 @@ module.exports = {
|
|||
})
|
||||
],
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -95,7 +95,7 @@ module.exports = {
|
|||
splitChunks: {
|
||||
minSize: 0 // This example is too small, in practice you can use the defaults
|
||||
},
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
},
|
||||
output: {
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
|
|
|
@ -10,7 +10,7 @@ module.exports = {
|
|||
splitChunks: {
|
||||
minSize: 0 // This example is too small, in practice you can use the defaults
|
||||
},
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
},
|
||||
output: {
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
|
|
|
@ -30,7 +30,7 @@ module.exports = {
|
|||
splitChunks: {
|
||||
minSize: 0 // This example is too small
|
||||
},
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
```
|
||||
|
|
|
@ -4,6 +4,6 @@ module.exports = {
|
|||
splitChunks: {
|
||||
minSize: 0 // This example is too small
|
||||
},
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -4,6 +4,6 @@ module.exports = {
|
|||
splitChunks: {
|
||||
minSize: 0 // This example is too small
|
||||
},
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -23,7 +23,7 @@ module.exports = {
|
|||
chunks: "all",
|
||||
minSize: 0 // This example is too small
|
||||
},
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
```
|
||||
|
|
|
@ -20,6 +20,6 @@ module.exports = {
|
|||
chunks: "all",
|
||||
minSize: 0 // This example is too small
|
||||
},
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -67,7 +67,7 @@ module.exports = {
|
|||
}
|
||||
}
|
||||
},
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
```
|
||||
|
|
|
@ -15,6 +15,6 @@ module.exports = {
|
|||
}
|
||||
}
|
||||
},
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = {
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -106,7 +106,7 @@ module.exports = {
|
|||
optimization: {
|
||||
usedExports: true,
|
||||
concatenateModules: true,
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
```
|
||||
|
|
|
@ -3,6 +3,6 @@ module.exports = {
|
|||
optimization: {
|
||||
usedExports: true,
|
||||
concatenateModules: true,
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -13,6 +13,6 @@ module.exports = {
|
|||
]
|
||||
},
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
|
@ -14,6 +14,6 @@ module.exports = {
|
|||
})
|
||||
],
|
||||
optimization: {
|
||||
occurrenceOrder: true // To keep filename consistent between different modes (for example building only)
|
||||
chunkIds: "total-size" // To keep filename consistent between different modes (for example building only)
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue