mirror of https://github.com/webpack/webpack.git
20 lines
371 B
JavaScript
20 lines
371 B
JavaScript
"use strict";
|
|
|
|
const ResolvePackageFromRootPlugin = require("./ResolvePackageFromRootPlugin");
|
|
|
|
/** @type {import("../../../").Configuration} */
|
|
module.exports = {
|
|
mode: "production",
|
|
entry: "./index",
|
|
output: {
|
|
filename: "bundle.js"
|
|
},
|
|
resolve: {
|
|
plugins: [new ResolvePackageFromRootPlugin(__dirname)]
|
|
},
|
|
stats: {
|
|
chunkModules: false,
|
|
modules: true
|
|
}
|
|
};
|