You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2024/03/14 12:35:20 UTC

(superset) 04/05: fix(webpack): remove double-dotted file extensions in webpack config (#27471)

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

michaelsmolina pushed a commit to branch 4.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 0ee452e9f90198fe8e5e7d5cd2cbd4f31300f173
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Tue Mar 12 11:26:49 2024 -0600

    fix(webpack): remove double-dotted file extensions in webpack config (#27471)
    
    (cherry picked from commit 47ae9d4cc3ca94332cb14359fb8a306f91c2da60)
---
 superset-frontend/webpack.config.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js
index d531a01cc9..d71fa2a195 100644
--- a/superset-frontend/webpack.config.js
+++ b/superset-frontend/webpack.config.js
@@ -403,7 +403,7 @@ const config = {
         },
         type: 'asset',
         generator: {
-          filename: '[name].[contenthash:8].[ext]',
+          filename: '[name].[contenthash:8][ext]',
         },
       },
       {
@@ -431,7 +431,7 @@ const config = {
         test: /\.(jpg|gif)$/,
         type: 'asset/resource',
         generator: {
-          filename: '[name].[contenthash:8].[ext]',
+          filename: '[name].[contenthash:8][ext]',
         },
       },
       /* for font-awesome */