Skip to content

Commit

Permalink
🔨 Add tailwind purge and swcMinify #2827
Browse files Browse the repository at this point in the history
  • Loading branch information
millianapia committed Feb 12, 2025
1 parent 99185d2 commit 67d1624
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default withBundle({
'video.js',
],
},
swcMinify: true,
transpilePackages: ['friendly-challenge'],
eslint: {
// Warning: Dangerously allow production builds to successfully complete even if
Expand Down
1 change: 1 addition & 0 deletions web/tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const round = (num) =>
const em = (px, base) => `${round(px / base)}em`

module.exports = {
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
content: [
'./components/**/*.{js,ts,tsx}',
'./pageComponents/**/*.{js,ts,tsx}',
Expand Down

0 comments on commit 67d1624

Please sign in to comment.