1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-09 11:08:19 +00:00

move clipboard.js to npm/webpack (#10183)

- created lazy-loaded webpack chunk for clipboard.js
- upgraded clipboard.js from 1.5.9 to 2.0.4
- parallelize initialization of all lazy-loaded features

Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
This commit is contained in:
silverwind
2020-02-08 00:03:42 +01:00
committed by GitHub
parent 0754ceca5b
commit 4721d45c2a
10 changed files with 64 additions and 49 deletions

View File

@@ -5,6 +5,7 @@
"node": ">=10"
},
"dependencies": {
"clipboard": "2.0.4",
"fomantic-ui": "2.8.3",
"highlight.js": "9.18.1",
"jquery": "3.4.1",