fix:markdown-it 里依赖 punycode 但没声明,帮它声明一下 (#1847)

This commit is contained in:
吴多益 2021-04-21 21:31:43 +08:00 committed by GitHub
parent ea215312a1
commit 6d19967094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -491,7 +491,8 @@ if (fis.project.currentMedia() === 'publish') {
'!linkify-it/**',
'!mdurl/**',
'!uc.micro/**',
'!markdown-it/**'
'!markdown-it/**',
'!punycode/**'
],
'rich-text.js': [
@ -514,7 +515,8 @@ if (fis.project.currentMedia() === 'publish') {
'linkify-it/**',
'mdurl/**',
'uc.micro/**',
'markdown-it/**'
'markdown-it/**',
'punycode/**'
],
'color-picker.js': [

View File

@ -66,6 +66,7 @@
"monaco-editor": "0.23.0",
"papaparse": "^5.3.0",
"prop-types": "^15.6.1",
"punycode": "^2.1.1",
"qrcode.react": "^0.8.0",
"qs": "6.5.1",
"rc-input-number": "6.1.1",