fix(api.js): bundle now exports clipboard mod, closes #2243 (#2244)

This commit is contained in:
Amr Bashir 2021-07-19 14:30:28 +02:00 committed by GitHub
parent e48bb3edff
commit 4f88c3fb94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,6 @@
---
"api": patch
---
`bundle` now exports `clipboard` module so you can `import { clipboard } from "@tauri-apps/api"`.

View File

@ -7,6 +7,7 @@
import 'regenerator-runtime/runtime'
import * as app from './app'
import * as cli from './cli'
import * as clipboard from './clipboard'
import * as dialog from './dialog'
import * as event from './event'
import * as fs from './fs'
@ -24,6 +25,7 @@ const invoke = tauri.invoke
export {
app,
cli,
clipboard,
dialog,
event,
fs,