From 338807751452e4415f9bda23d8e6cc7c574d6365 Mon Sep 17 00:00:00 2001 From: hae-on Date: Fri, 19 Apr 2024 23:08:17 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20webpack=20vanilla=20error=20hash=20?= =?UTF-8?q?=EA=B0=92=20=EC=B6=94=EA=B0=80=ED=95=98=EC=97=AC=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack.common.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webpack.common.js b/webpack.common.js index 68aa7d0b..57fdff09 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -48,5 +48,9 @@ module.exports = { }, ], }, - plugins: [new Dotenv(), new VanillaExtractPlugin(), new MiniCssExtractPlugin()], + plugins: [ + new Dotenv(), + new VanillaExtractPlugin({ identifiers: ({ hash }) => `prefix_${hash}` }), + new MiniCssExtractPlugin(), + ], };