From be8854b177c0e3b4cc21ff74ac6ad49260a1dbb1 Mon Sep 17 00:00:00 2001 From: Julien Fabre Date: Mon, 3 Oct 2022 11:57:13 +0200 Subject: [PATCH] fix[GH-3764]: webpack extension (#3906) --- webapp/webpack.common.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webapp/webpack.common.js b/webapp/webpack.common.js index 2807f510f..b003265ce 100644 --- a/webapp/webpack.common.js +++ b/webapp/webpack.common.js @@ -1,7 +1,8 @@ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. -const tsTransformer = require('@formatjs/ts-transformer'); const path = require('path'); + +const tsTransformer = require('@formatjs/ts-transformer'); const CopyPlugin = require('copy-webpack-plugin'); var HtmlWebpackPlugin = require('html-webpack-plugin'); @@ -70,8 +71,8 @@ function makeCommonConfig() { test: /\.(eot|tiff|svg|woff2|woff|ttf|png|jpg|jpeg|gif)$/, type: 'asset/resource', generator: { - filename: 'static/[name].[ext]', - } + filename: 'static/[name][ext]', + }, }, ], },