"use strict";

const base = {
	target: ["web", "node"],
	entry: "./index.mjs",
	experiments: {
		outputModule: true
	},
	output: {
		publicPath: "",
		module: true,
		filename: "bundle0.mjs",
		chunkFilename: "[name].mjs",
		crossOriginLoading: "anonymous"
	},
	optimization: {
		minimize: false,
		chunkIds: "named"
	}
};

/** @type {import("../../../../").Configuration[]} */
module.exports = [
	{ name: "web", ...base },
	{ name: "node", ...base }
];
