-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
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
Rollup 3.0 #58
Comments
agreed, would love that! |
I got this working with Rollup 3.x, see https://github.com/chrisn/rollup-plugin-peer-deps-external/ - also available in NPM at https://www.npmjs.com/package/@chrisneedham/rollup-plugin-peer-deps-external. @pmowrer You're welcome to take the changes I made to publish your own update. |
I also had a problem during migration, and to be honest, this plugin isn't necessary anymore with import attributes: import packageJson from './package.json' with { type: 'json'};
import { defineConfig } from "rollup";
const peerDependencies = Object.keys(packageJson.peerDependencies)
export default defineConfig([
{
input: "./source/code/index.ts",
external: [
...peerDependencies
],
},
]);
|
Update for rollup 3.0 pls
The text was updated successfully, but these errors were encountered: