Skip to content

Commit

Permalink
fix: webpack analyzer 적용(#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
turtle601 committed Sep 21, 2023
1 parent b94e923 commit 71173bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/.webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const commonConfig = require('./webpack.common.js');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;

const commonPlugins = [
new HtmlWebpackPlugin({
Expand All @@ -14,6 +15,9 @@ const commonPlugins = [
new MiniCssExtractPlugin({
filename: 'fonts/font.css',
}),
new BundleAnalyzerPlugin({
analyzerMode: 'static',
}),
];

const commonRules = [
Expand Down

0 comments on commit 71173bf

Please sign in to comment.