We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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'.
Consider an empty include option means 'includes all'.
The text was updated successfully, but these errors were encountered:
You're absolutely right. I should have written some test for this case.
Thanks for reporting. This is fixed in the upcoming 5.1.2.
Sorry, something went wrong.
8a8831d
No branches or pull requests
Since latest update 5.1.0 -> 5.1.1, I have this error when building
My config
Maybe it's related to the patch
Consider an empty include option means 'includes all'.
The text was updated successfully, but these errors were encountered: