Skip to content

Commit 0e15522

Browse files
committed
Ignore navbar stuff
1 parent ee50411 commit 0e15522

File tree

1 file changed

+15
-22
lines changed

1 file changed

+15
-22
lines changed

.postcssrc.js

+15-22
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,25 @@
1-
const production = {
1+
module.exports = {
22
plugins: [
33
require("autoprefixer")({
44
flexbox: "no-2009"
55
}),
66
require("postcss-nested"),
77
require("postcss-uncss")({
88
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+
]
1023
})
1124
]
1225
};
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-
}

0 commit comments

Comments
 (0)