Skip to content

Commit

Permalink
fix: webpack vanilla error hash 값 추가하여 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
hae-on committed Apr 19, 2024
1 parent 3ac33fc commit 3388077
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,9 @@ module.exports = {
},
],
},
plugins: [new Dotenv(), new VanillaExtractPlugin(), new MiniCssExtractPlugin()],
plugins: [
new Dotenv(),
new VanillaExtractPlugin({ identifiers: ({ hash }) => `prefix_${hash}` }),
new MiniCssExtractPlugin(),
],
};

0 comments on commit 3388077

Please sign in to comment.