File tree 1 file changed +15
-22
lines changed
1 file changed +15
-22
lines changed Original file line number Diff line number Diff line change 1
- const production = {
1
+ module . exports = {
2
2
plugins : [
3
3
require ( "autoprefixer" ) ( {
4
4
flexbox : "no-2009"
5
5
} ) ,
6
6
require ( "postcss-nested" ) ,
7
7
require ( "postcss-uncss" ) ( {
8
8
html : [ "./index.html" ] ,
9
- ignore : [ "#mobile-nav-toggle" , ".header-scrolled" ]
9
+ ignore : [
10
+ ".mobile-nav-active" ,
11
+ ".menu-item-active" ,
12
+ ".fa-chevron-down" ,
13
+ ".fa-chevron-down" ,
14
+ ".menu-has-children" ,
15
+ "#mobile-body-overly" ,
16
+ ".fa-bars" ,
17
+ "#mobile-nav" ,
18
+ "#mobile-nav-toggle" ,
19
+ ".header-scrolled" ,
20
+ ".header-fixed" ,
21
+
22
+ ]
10
23
} )
11
24
]
12
25
} ;
13
-
14
- const dev = {
15
- plugins : [
16
- require ( "autoprefixer" ) ( {
17
- flexbox : "no-2009"
18
- } ) ,
19
- require ( "postcss-nested" )
20
- ]
21
- } ;
22
-
23
- const config = {
24
- production,
25
- dev
26
- } ;
27
-
28
- if ( process . env . NODE_ENV === "production" ) {
29
- module . exports = config [ "production" ] ;
30
- } else {
31
- module . exports = config [ "dev" ] ;
32
- }
You can’t perform that action at this time.
0 commit comments