From 522fb799339a52f71b2acae0ddad8046f64faa7e Mon Sep 17 00:00:00 2001 From: parabolabam Date: Sun, 22 Oct 2023 17:18:57 +0400 Subject: [PATCH] add vite --- postcss.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/postcss.config.js b/postcss.config.js index 448c3b0..54d621e 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,10 +1,11 @@ import autoprefixer from 'autoprefixer'; import cssnano from 'cssnano'; import eslint from 'vite-plugin-eslint'; - +import react from '@vitejs/plugin-react'; export default { plugins: [ + react(), eslint(), autoprefixer(), ...(process.env.NODE_ENV === 'production' ? [cssnano] : []),