File tree 4 files changed +201
-183
lines changed
4 files changed +201
-183
lines changed Original file line number Diff line number Diff line change 20
20
"glob" : " ^7.1.4" ,
21
21
"gray-matter" : " ^4.0.2" ,
22
22
"highlight.js" : " ^9.15.10" ,
23
- "isomorphic-unfetch" : " ^3.0.0" ,
24
- "next" : " ^9.4.0" ,
23
+ "next" : " ^9.4.4" ,
25
24
"next-transpile-modules" : " ^2.3.1" ,
26
25
"prettier" : " ^1.18.2" ,
27
26
"react" : " ^16.12.0" ,
54
53
"autoprefixer" : " ^9.5.1" ,
55
54
"cssnano" : " ^4.1.10" ,
56
55
"postcss-cli" : " ^7.1.1" ,
57
- "postcss-easy-import" : " ^3.0.0" ,
58
56
"reanalyze" : " ^2.5.0" ,
59
- "tailwindcss" : " ^1.2.0 "
57
+ "tailwindcss" : " ^1.4.6 "
60
58
}
61
59
}
Original file line number Diff line number Diff line change 1
- module . exports = {
2
- plugins : [
3
- require ( 'postcss-easy-import' ) ,
4
- require ( 'tailwindcss' ) ,
5
- require ( 'autoprefixer' ) ,
6
- ...process . env . NODE_ENV === 'production'
7
- ? [ require ( "cssnano" ) ( ) ]
8
- : [ ]
9
- ]
1
+ const plugins = {
2
+ tailwindcss : { } ,
3
+ autoprefixer : { }
4
+ } ;
5
+
6
+ if ( process . env . NODE_ENV === 'production' ) {
7
+ plugins . cssnano = { } ;
10
8
}
9
+
10
+ module . exports = {
11
+ plugins : plugins
12
+ } ;
Original file line number Diff line number Diff line change 1
- @import "tailwindcss/base" ;
2
- @import "tailwindcss/components" ;
3
- @import "tailwindcss/utilities" ;
1
+ @tailwind base;
2
+ @tailwind components;
4
3
5
4
@import './_hljs.css' ;
6
5
@import './_markdown.css' ;
10
9
body {
11
10
@apply font-sans bg-white;
12
11
}
12
+
13
+ @tailwind utilities;
You can’t perform that action at this time.
0 commit comments