From e28f71b99e2a755765516997a580d0ce1adf416a Mon Sep 17 00:00:00 2001 From: Adam Sobotka Date: Sun, 12 Dec 2021 14:05:12 +0100 Subject: [PATCH 1/3] tailwind and next update --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 7c23f40e..5254ca72 100644 --- a/package.json +++ b/package.json @@ -18,16 +18,16 @@ "ethers": "^5.4.1", "hardhat": "^2.4.1", "ipfs-http-client": "50.1.2", - "next": "11.0.1", - "react": "17.0.2", - "react-dom": "17.0.2", + "next": "^12.0.7", + "react": "^17.0.2", + "react-dom": "^17.0.2", "web3modal": "^1.9.3" }, "devDependencies": { "autoprefixer": "^10.2.6", "eslint": "7.29.0", "eslint-config-next": "11.0.1", - "postcss": "^8.3.5", - "tailwindcss": "^2.2.4" + "postcss": "^8.4.4", + "tailwindcss": "^3.0.1" } } From 98570d600656ae813dbe00e0bed664db0154c1a0 Mon Sep 17 00:00:00 2001 From: Adam Sobotka Date: Sun, 12 Dec 2021 14:06:34 +0100 Subject: [PATCH 2/3] use next swc minify --- next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/next.config.js b/next.config.js index 0d607100..9be956e5 100644 --- a/next.config.js +++ b/next.config.js @@ -1,3 +1,4 @@ module.exports = { reactStrictMode: true, + swcMinify: true, } From 6d1aa99453719fe5d8d35061d4acf7f88013d1f6 Mon Sep 17 00:00:00 2001 From: Adam Sobotka Date: Sun, 12 Dec 2021 14:07:21 +0100 Subject: [PATCH 3/3] tailwind upgrade related changes --- tailwind.config.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 62dfdaf3..4cd61381 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,11 +1,10 @@ module.exports = { - purge: [], - darkMode: false, // or 'media' or 'class' + content: [ + './pages/**/*.{js,ts,jsx,tsx}', + './components/**/*.{js,ts,jsx,tsx}', + ], theme: { extend: {}, }, - variants: { - extend: {}, - }, plugins: [], }