Skip to content

Commit

Permalink
Updated webpack.config.js to set mode to production
Browse files Browse the repository at this point in the history
  • Loading branch information
ExtF8 committed Mar 17, 2024
1 parent c4d8391 commit 940b2c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ const FaviconsWebpackPlugin = require('favicons-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');

module.exports = {
mode: 'development',
mode: 'production',
entry: './src/index.js',
devtool: 'source-map',
devServer: {
static: './dist',
},
performance: {
hints: false,
},
plugins: [
new HtmlWebpackPlugin({
title: 'To Do Or Not',
Expand Down

0 comments on commit 940b2c0

Please sign in to comment.