mirror of https://github.com/webpack/webpack.git
28 lines
386 B
JavaScript
28 lines
386 B
JavaScript
"use strict";
|
|
|
|
/** @type {import("../../../../").Configuration} */
|
|
module.exports = {
|
|
target: "web",
|
|
output: {
|
|
assetModuleFilename: "[name][ext]"
|
|
},
|
|
optimization: {
|
|
chunkIds: "named"
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.txt$/,
|
|
loader: require.resolve("./loader")
|
|
},
|
|
{
|
|
test: /\.text$/,
|
|
type: "asset/source"
|
|
}
|
|
]
|
|
},
|
|
experiments: {
|
|
css: true
|
|
}
|
|
};
|