From 9417361e6ecb4496b82d259e7903d31a2e8ae27b Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Thu, 10 Feb 2022 14:36:05 +0800 Subject: [PATCH] updated frontend build config --- frontend/vue.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frontend/vue.config.js b/frontend/vue.config.js index f51a09ea..41b675a7 100644 --- a/frontend/vue.config.js +++ b/frontend/vue.config.js @@ -35,6 +35,15 @@ const config = { }, outputDir: './dist', configureWebpack: { + module: { + rules: [ + { + test: /\.js$/, + include: /node_modules\/crawlab-ui/, + loader: 'raw-loader', + } + ] + }, optimization, resolve: { alias,