From ae67b7b8b9f518714097163ced8c0057892a2fe6 Mon Sep 17 00:00:00 2001 From: XiaoDaiGua-Ray <443547225@qq.com> Date: Sun, 14 Apr 2024 23:52:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9Ejsbarcode=20cdn?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.plugin.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vite.plugin.config.ts b/vite.plugin.config.ts index b78ff63c..61bb1dea 100644 --- a/vite.plugin.config.ts +++ b/vite.plugin.config.ts @@ -95,6 +95,11 @@ function onlyBuildOptions(mode: string): PluginOption[] { global: 'axios', relativeModule: 'axios.min.js', }, + { + name: 'jsbarcode', + global: 'JsBarcode', + relativeModule: 'JsBarcode.all.min.js', + }, ], }), ]