web
web copied to clipboard
[rollup-plugin-copy] `exports` should be optional
copy({
rootDir: "build/src",
patterns: "commands",
}),
Gives the error:
Argument of type '{ rootDir: string; patterns: string; }' is not assignable to parameter of type '{ patterns: string | string[]; exclude: string | string[]; rootDir?: string; }'. Property 'exclude' is missing in type '{ rootDir: string; patterns: string; }' but required in type '{ patterns: string | string[]; exclude: string | string[]; rootDir?: string; }'.