2
0
mirror of https://github.com/tenrok/vue-json-viewer.git synced 2026-06-11 18:02:29 +03:00

remove the clipboard code from the dist file

This commit is contained in:
陈峰
2019-03-26 21:40:06 +08:00
parent 0705e552c5
commit 73af09a8ec
4 changed files with 8 additions and 6 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ module.exports = {
]
},
externals: {
vue: 'vue'
vue: 'vue',
clipboard: 'clipboard'
},
module: {
rules: [
+2 -1
View File
@@ -40,7 +40,8 @@ module.exports = {
]
},
externals: {
vue: 'vue'
vue: 'vue',
clipboard: 'clipboard'
},
module: {
rules: [
+1 -1
View File
@@ -46,7 +46,7 @@
}
],
"dependencies": {
"clipboard": "^1.7.1",
"clipboard": "^2.0.4",
"vue": "^2.6.9"
},
"devDependencies": {
+3 -3
View File
@@ -1395,9 +1395,9 @@ cli-width@^2.0.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
clipboard@^1.7.1:
version "1.7.1"
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-1.7.1.tgz#360d6d6946e99a7a1fef395e42ba92b5e9b5a16b"
clipboard@^2.0.4:
version "2.0.4"
resolved "http://registry.npm.taobao.org/clipboard/download/clipboard-2.0.4.tgz#836dafd66cf0fea5d71ce5d5b0bf6e958009112d"
dependencies:
good-listener "^1.2.2"
select "^1.1.2"