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', + }, ], }), ]