mirror of https://github.com/webpack/webpack.git
16 lines
343 B
JavaScript
16 lines
343 B
JavaScript
"use strict";
|
|
|
|
module.exports = {
|
|
entry: {
|
|
app: { import: "./app.js", dependOn: ["react-vendors"] },
|
|
"react-vendors": ["react", "react-dom", "prop-types"]
|
|
},
|
|
optimization: {
|
|
chunkIds: "named" // To keep filename consistent between different modes (for example building only)
|
|
},
|
|
stats: {
|
|
chunks: true,
|
|
chunkRelations: true
|
|
}
|
|
};
|