mirror of https://github.com/webpack/webpack.git
24 lines
358 B
JavaScript
24 lines
358 B
JavaScript
"use strict";
|
|
|
|
/** @type {import("../../../").Configuration} */
|
|
module.exports = {
|
|
mode: "production",
|
|
entry: {
|
|
entry: "./entry"
|
|
},
|
|
optimization: {
|
|
moduleIds: "named",
|
|
chunkIds: "named",
|
|
splitChunks: {
|
|
cacheGroups: {
|
|
vendor: {
|
|
name: "vendor",
|
|
test: /modules[\\/][ab]/,
|
|
chunks: "all",
|
|
enforce: true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|