"use strict";

const DefinePlugin = require("@rspack/core").DefinePlugin;

/** @type {import("@rspack/core").Configuration[]} */
module.exports = [
	{
		name: "development",
		mode: "development",
		plugins: [new DefinePlugin({ __MODE__: `"development"` })]
	},
	{
		name: "production",
		mode: "production",
		plugins: [new DefinePlugin({ __MODE__: `"production"` })]
	},
	{
		name: "none",
		mode: "none",
		plugins: [new DefinePlugin({ __MODE__: `"none"` })]
	}
];
