/** @type {import("@rspack/core").Configuration} */
module.exports = {
	entry() {
		return {
			a: "./a",
			b: "./b"
		};
	},
	output: {
		filename: data => {
			return data.chunk.name === "a" ? `${data.chunk.name}.js` : "[name].js";
		}
	}
};
