Skip to content

Commit 1fa04cf

Browse files
committed
fix: 🐛 sweetalert 改为 require 引入
1 parent 6d93a5c commit 1fa04cf

4 files changed

Lines changed: 11 additions & 1008 deletions

File tree

apps/common/qr-code/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# common-qr-code
22

3+
## 1.7.2
4+
5+
### Patch Changes
6+
7+
- Sweetalert 改为 require 引入
8+
39
## 1.7.1
410

511
### Patch Changes

apps/common/qr-code/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "common-qr-code",
33
"type": "module",
4-
"version": "1.7.1",
4+
"version": "1.7.2",
55
"private": true,
66
"description": "图片二维码识别/生成工具(Common QR Code)-- 右键图片,识别二维码并复制到剪贴板。右键文字,生成二维码并展示。",
77
"author": {

apps/common/qr-code/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default defineConfig({
1414
externalGlobals: {
1515
'jsqr': cdn.unpkg('jsQR', 'dist/jsQR.js'),
1616
'notiflix/build/notiflix-notify-aio': cdn.unpkg('Notiflix', 'build/notiflix-notify-aio.js'),
17+
'sweetalert': cdn.unpkg('swal', 'dist/sweetalert.min.js'),
1718
},
1819
},
1920
userscript: {

0 commit comments

Comments
 (0)