mirror of https://github.com/webpack/webpack.git
24 lines
384 B
JavaScript
24 lines
384 B
JavaScript
"use strict";
|
|
|
|
/** @type {import("../../../../types").Configuration} */
|
|
module.exports = {
|
|
mode: "development",
|
|
entry: {
|
|
main: "./index.js",
|
|
warnings: "./generate-warnings.js"
|
|
},
|
|
output: {
|
|
filename: "[name].js",
|
|
assetModuleFilename: "[name][ext]"
|
|
},
|
|
target: "web",
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.(png|jpg|css|woff2)$/,
|
|
type: "asset/resource"
|
|
}
|
|
]
|
|
}
|
|
};
|