This is an automated email from the ASF dual-hosted git repository.

likyh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new fd7f83a01 fix(config-ui): build image failed (#3935)
fd7f83a01 is described below

commit fd7f83a0116266a2c79a7d162d298becc85cdb6a
Author: 青湛 <[email protected]>
AuthorDate: Thu Dec 15 13:13:59 2022 +0800

    fix(config-ui): build image failed (#3935)
---
 config-ui/Dockerfile                   | 2 +-
 config-ui/webpack.production.config.js | 8 +-------
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/config-ui/Dockerfile b/config-ui/Dockerfile
index 7b1418e13..dcb0bf0a2 100644
--- a/config-ui/Dockerfile
+++ b/config-ui/Dockerfile
@@ -23,7 +23,7 @@
 #While incubation status is not necessarily a reflection of the completeness 
or stability of the code,
 #it does indicate that the project has yet to be fully endorsed by the ASF.
 
-FROM node:16 as builder
+FROM node:14 as builder
 WORKDIR /home/node/code
 COPY package.json /home/node/code
 COPY package-lock.json /home/node/code
diff --git a/config-ui/webpack.production.config.js 
b/config-ui/webpack.production.config.js
index a35a39556..38aa83905 100644
--- a/config-ui/webpack.production.config.js
+++ b/config-ui/webpack.production.config.js
@@ -53,13 +53,7 @@ module.exports = (env = {}) => {
             // !WARNING! We only use style-loader for DEV MODE!
             // 'style-loader',
             MiniCssExtractPlugin.loader,
-            {
-              loader: 'css-loader',
-              options: {
-                modules: true,
-                importLoaders: 1
-              }
-            }
+            'css-loader'
           ]
         },
         {

Reply via email to