Skip to content

Commit

Permalink
chore(app): use SWC instead of Terser
Browse files Browse the repository at this point in the history
  • Loading branch information
abedzantout committed Oct 30, 2021
1 parent 38f95bd commit b3f6099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const path = require('path');
const Dotenv = require('dotenv-webpack');

const next_config = {
swcMinify: true,
webpack: (config) => {
config.plugins = config.plugins || [];

Expand Down
1 change: 1 addition & 0 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default class extends Document<Props> {

return (
<Html lang={language}>
<Head />
<body>
<Main />
<NextScript />
Expand Down

0 comments on commit b3f6099

Please sign in to comment.