{
"mode": "production",
"entry": {
"cjs": "./entry.js",
"mjs": "./entry-esm.mjs"
},
"output": {
"filename": "main-[name].cjs",
"library": {
"type": "commonjs2"
}
}
}
{
"mode": "production",
"entry": {
"cjs": "./entry.js",
"mjs": "./entry-esm.mjs"
},
"output": {
"filename": "main-[name].cjs",
"library": {
"type": "commonjs2"
}
}
}