From 226dcc2d5408fea24c932b638f91e19a86c7316c Mon Sep 17 00:00:00 2001 From: maxim Date: Fri, 22 Nov 2024 23:30:39 +0300 Subject: [PATCH] [2] optimize for `production` --- next.config.mjs | 1 + tailwind.config.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/next.config.mjs b/next.config.mjs index 5f60425..cd03bd5 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,5 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + output: 'standalone', images: { remotePatterns: [ { diff --git a/tailwind.config.ts b/tailwind.config.ts index 0fd5216..3c063e5 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -3,7 +3,7 @@ import plugin from 'tailwindcss/plugin' const config = { darkMode: ['class'], - content: ['./pages/**/*.{ts,tsx}', './components/**/*.{ts,tsx}', './app/**/*.{ts,tsx}', './src/**/*.{ts,tsx}'], + content: ['./components/**/*.{ts,tsx}', './app/**/*.{ts,tsx}', './src/**/*.{ts,tsx}', '!./node_modules/**'], prefix: '', theme: { container: {