-
-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
Since latest update 5.1.0 -> 5.1.1, I have this error when building
./src/node/index.ts → ./dist/esm, ./dist/cjs...
[!] RollupError: Entry module "./src/node/index.ts" cannot be external.
My config
{
input: "./src/node/index.ts",
output: [{
dir: "./dist/esm",
format: "esm",
exports: "named",
preserveModules: true,
sourcemap: true,
entryFileNames: "[name].mjs",
}, {
dir: "./dist/cjs",
format: "cjs",
exports: "named",
preserveModules: true,
sourcemap: true,
entryFileNames: "[name].cjs",
}],
plugins: [externals(), ts()]
},Maybe it's related to the patch Consider an empty include option means 'includes all'.
Metadata
Metadata
Assignees
Labels
No labels