mirror of https://github.com/webpack/webpack.git
22 lines
335 B
JavaScript
22 lines
335 B
JavaScript
/** @type {import("../../../../").Configuration} */
|
|
module.exports = {
|
|
mode: "development",
|
|
devtool: false,
|
|
optimization: {
|
|
realContentHash: true
|
|
},
|
|
module: {
|
|
generator: {
|
|
asset: {
|
|
filename: "assets/[name].[contenthash][ext]"
|
|
}
|
|
},
|
|
rules: [
|
|
{
|
|
test: /file\.text$/,
|
|
type: "asset/resource"
|
|
}
|
|
]
|
|
}
|
|
};
|