mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
build(rollup): add clipboard-copy to globals
This commit is contained in:
parent
e5d123eb4b
commit
acfa5c2a17
1 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,10 @@ export default ["es", "umd"].map((format) => {
|
|||
format,
|
||||
file: UMD ? pkg.main : pkg.module,
|
||||
name: UMD ? "carbon-components-svelte" : undefined,
|
||||
globals: { flatpickr: "flatpickr" },
|
||||
globals: {
|
||||
flatpickr: "flatpickr",
|
||||
"clipboard-copy": "copy",
|
||||
},
|
||||
},
|
||||
external: Object.keys(pkg.dependencies),
|
||||
plugins: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue