web icon indicating copy to clipboard operation
web copied to clipboard

[rollup-plugin-copy] `exports` should be optional

Open JoshMcCullough opened this issue 2 years ago • 0 comments

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; }'.

JoshMcCullough avatar Jan 01 '24 22:01 JoshMcCullough