mirror of https://github.com/webpack/webpack.git
13 lines
431 B
JavaScript
13 lines
431 B
JavaScript
|
module.exports = {
|
||
|
entry: {
|
||
|
app: { import: "./app.js", dependOn: ["other-vendors"] },
|
||
|
page1: { import: "./page1.js", dependOn: ["app", "react-vendors"] },
|
||
|
"react-vendors": ["react", "react-dom", "prop-types"],
|
||
|
"other-vendors": ["lodash", "isomorphic-fetch"]
|
||
|
},
|
||
|
optimization: {
|
||
|
runtimeChunk: "single",
|
||
|
chunkIds: "deterministic" // To keep filename consistent between different modes (for example building only)
|
||
|
}
|
||
|
};
|