Skip to content

Commit

Permalink
fix: reenable minification without swc (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbrugneaux authored Jul 6, 2023
1 parent 4cc8ec1 commit 4277fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ const webpack = require('webpack');

const nextConfig = {
reactStrictMode: false,
swcMinify: true,
swcMinify: false,
webpack: (config) => {
config.resolve.fallback = { fs: false, net: false, tls: false };
config.plugins.push(
new webpack.BannerPlugin({
banner: 'For third party licenses check /THIRD_PARTY_LICENSES.txt',
})
);
config.optimization.minimizer = [];
// config.optimization.minimizer = [];
return config;
},
async headers() {
Expand Down

1 comment on commit 4277fa7

@vercel
Copy link

@vercel vercel bot commented on 4277fa7 Jul 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.