base = name => ({
	name,
	mode: "development",
	devtool: "source-map",
	entry: "./index",
	output: {
		filename: `${name}-[name].js`,
		assetModuleFilename: `${name}-[name][ext]`,
		pathinfo: false
	},
	module: {
		rules: [
			{
				test: /\.css$/,
				use: [
					MCEP.loader,
					{
						loader: "css-loader",
						options: {
							sourceMap: true
						}
					}
				]
			}
		]
	},
	plugins: [
		new MCEP({
			filename: `${name}-[name].css`
		}),
		compression([".br", ".gz"])
	]
})
@param {string} name name
@returns {Configuration} configuration