Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

tailwind v3 changes

Blue Mouse57458978e003
diff --git a/craco.config.js b/craco.config.js
deleted file mode 100644
index 1d1894c98..000000000
--- a/craco.config.js
+++ /dev/null
@@ -1,10 +0,0 @@
-module.exports = {
- style: {
- postcss: {
- plugins: [
- require('tailwindcss'),
- require('autoprefixer'),
- ],
- },
- },
-}
diff --git a/tailwind.config.js b/tailwind.config.js
index 8f466f3d9..3155560ed 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -1,7 +1,7 @@
module.exports = {
- // mode: 'jit',
+ mode: 'jit',
important: true,
- purge: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
+ content: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {