aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-05-30 21:15:57 +0200
committerGitHub <noreply@github.com>2021-05-30 20:15:57 +0100
commit37205039fc83707edc8079d0884d4c12953e80b1 (patch)
treeff4adbd4ce4f6f56c5166758e2e21144d91faa1f /package.json
parent36dce0e457d99ae22530f606ce296ef4946b257b (diff)
downloadgitea-37205039fc83707edc8079d0884d4c12953e80b1.tar.gz
gitea-37205039fc83707edc8079d0884d4c12953e80b1.zip
Replace clipboard.js with async clipboard api (#15899)
Use async clipboard api [1] over this dependency, saving around 10kB bundle size before minify while delivering the same functionality. The issue comment button works but does not have a popup indication. We could add some toast-style notifications in the future to fix that but I think it's out of scope of this PR. [1] https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 0 insertions, 1 deletions
diff --git a/package.json b/package.json
index 5da3dfab20..bbd5658031 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,6 @@
"@claviska/jquery-minicolors": "2.3.5",
"@primer/octicons": "13.0.0",
"add-asset-webpack-plugin": "2.0.1",
- "clipboard": "2.0.8",
"codemirror": "5.61.0",
"css-loader": "5.2.4",
"dropzone": "5.9.2",