/** @type {import("@rspack/core").Configuration} */
module.exports = {
	mode: "production",
	module: {
		rules: [
			{
				test: /aaa/,
				parser: {
					exportsPresence: false
				}
			},
			{
				test: /bbb/,
				parser: {
					exportsPresence: "warn"
				}
			},
			{
				test: /ccc/,
				parser: {
					exportsPresence: "error"
				}
			},
			{
				test: /ddd/,
				parser: {
					exportsPresence: "error",
					importExportsPresence: "warn",
					reexportExportsPresence: false
				}
			}
		]
	}
};
