Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ToastHawaii committed Jun 6, 2024
1 parent bd48943 commit dddfa2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/client/webpack.production.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ module.exports = {
filename: "./de/index.html",
chunks: ["de"],
}),
new webpack.DefinePlugin({
"process.env.NODE_ENV": JSON.stringify("production"),
}),
new CopyWebpackPlugin({
patterns: [
{ from: "./www" },
Expand All @@ -37,7 +40,7 @@ module.exports = {
filename: "[name]/main.css",
}),
],
mode: "development",
mode: "production",

resolve: {
// Add '.ts' and '.tsx' as resolvable extensions.
Expand Down

0 comments on commit dddfa2f

Please sign in to comment.