Skip to content

Commit 226dcc2

Browse files
committed
[2] optimize for production
1 parent e162840 commit 226dcc2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

next.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3+
output: 'standalone',
34
images: {
45
remotePatterns: [
56
{

tailwind.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import plugin from 'tailwindcss/plugin'
33

44
const config = {
55
darkMode: ['class'],
6-
content: ['./pages/**/*.{ts,tsx}', './components/**/*.{ts,tsx}', './app/**/*.{ts,tsx}', './src/**/*.{ts,tsx}'],
6+
content: ['./components/**/*.{ts,tsx}', './app/**/*.{ts,tsx}', './src/**/*.{ts,tsx}', '!./node_modules/**'],
77
prefix: '',
88
theme: {
99
container: {

0 commit comments

Comments
 (0)