Skip to content

Commit f40f7e9

Browse files
committed
Removed Tailwind build warnings
"purge" was replaced with "content" according to latest TailwindCSS rule & "darkMode" was removed as it is not required coz mentioned while running "yarn run build" or "npm run build" command.
1 parent 36336d7 commit f40f7e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tailwind.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module.exports = {
22
mode: 'jit',
3-
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
4-
darkMode: false, // or 'media' or 'class'
3+
content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
54
theme: {
65
backgroundColor: theme => ({
76
...theme('colors'),

0 commit comments

Comments
 (0)