2025-07-16 22:29:28 +08:00
|
|
|
"use strict";
|
|
|
|
|
2023-05-06 09:21:38 +08:00
|
|
|
/** @type {import("../../../../").Configuration} */
|
|
|
|
module.exports = {
|
|
|
|
entry: "./index.mjs",
|
|
|
|
experiments: {
|
2024-03-15 00:27:31 +08:00
|
|
|
outputModule: true,
|
|
|
|
css: true
|
2023-05-06 09:21:38 +08:00
|
|
|
},
|
|
|
|
name: "esm",
|
|
|
|
target: "web",
|
|
|
|
output: {
|
|
|
|
publicPath: "",
|
|
|
|
module: true,
|
2023-06-03 10:34:05 +08:00
|
|
|
filename: "bundle0.mjs",
|
2024-03-25 21:48:46 +08:00
|
|
|
chunkFilename: "[name].mjs",
|
|
|
|
chunkFormat: "module",
|
2023-05-06 09:21:38 +08:00
|
|
|
crossOriginLoading: "anonymous"
|
|
|
|
},
|
|
|
|
performance: {
|
|
|
|
hints: false
|
|
|
|
},
|
|
|
|
optimization: {
|
|
|
|
minimize: false
|
|
|
|
}
|
|
|
|
};
|