mirror of https://github.com/webpack/webpack.git
19 lines
311 B
JavaScript
19 lines
311 B
JavaScript
"use strict";
|
|
|
|
const path = require("path");
|
|
|
|
module.exports = {
|
|
// mode: "development" || "production",
|
|
entry: {
|
|
main: "./example"
|
|
},
|
|
optimization: {
|
|
runtimeChunk: true
|
|
},
|
|
output: {
|
|
path: path.join(__dirname, "dist"),
|
|
filename: "[name].chunkhash.js",
|
|
chunkFilename: "[name].chunkhash.js"
|
|
}
|
|
};
|