Skip to content

Commit

Permalink
chore: apply coderabiit suggestion
Browse files Browse the repository at this point in the history
Signed-off-by: miigotu <miigotu@gmail.com>
  • Loading branch information
miigotu committed Nov 4, 2023
1 parent 859d731 commit 58f9946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const {GenerateSW} = require("workbox-webpack-plugin");
const stylesHandler = MiniCssExtractPlugin.loader;

const config = {
mode: process.env.NODE_ENV || 'development',
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
resolve: {
extensions: ['.js', '.jsx', '.css']
},
Expand Down

0 comments on commit 58f9946

Please sign in to comment.