"use strict";

/** @type {import("../../../").Configuration} */
module.exports = {
	mode: "production",
	entry: "./index.js",
	module: {
		rules: [
			{
				test: /\.(png|jpg|svg)$/,
				type: "asset"
			},
			{
				test: /\.html$/,
				type: "asset/resource",
				generator: {
					filename: "static/[name][ext]"
				}
			},
			{
				test: /\.css$/,
				type: "asset/inline"
			},
			{
				test: /\.source\.js$/,
				type: "asset/source"
			},
			{
				mimetype: "text/plain",
				type: "asset"
			}
		]
	},
	optimization: {
		concatenateModules: false
	},
	output: {
		filename: "bundle.js"
	}
};
