From 2beadb3879986120cb8ddf9ec660175d5b17911e Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 20 二月 2025 14:42:35 +0800 Subject: [PATCH] 检验任务搬迁40% --- vue.config.js | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/vue.config.js b/vue.config.js index 1d8e525..dbf0bfc 100644 --- a/vue.config.js +++ b/vue.config.js @@ -59,6 +59,19 @@ "@": resolve("src"), }, }, + module: { + rules: [ + { + test: /\.worker\.js$/, + use: { + loader: "worker-loader", + options: { + inline: "fallback", + }, + }, + }, + ], + }, plugins: [ // http://doc.ruoyi.vip/ruoyi-vue/other/faq.html#浣跨敤gzip瑙e帇缂╅潤鎬佹枃浠� new CompressionPlugin({ -- Gitblit v1.9.3