-
Notifications
You must be signed in to change notification settings - Fork 1
/
postcss.config.js
37 lines (35 loc) · 1023 Bytes
/
postcss.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
const purgecss = require("@fullhuman/postcss-purgecss");
const pxtorem = require("postcss-pixels-to-rem");
module.exports = {
plugins: [
// require("cssnano"),
require("autoprefixer"),
require("postcss-focus"),
pxtorem({
unit: "rem",
// css: ["./src/css/landingpage.css"],
// variables: true
}),
purgecss({
content: ["./src/brief.html"],
css: ["./src/css/brief.css"],
variables: true
}),
// require("postcss-font-magician")({
// foundries: "bootstrap google",
// variants: {
// "Lato": {
// 400: ["local, woff, eot, woff2"],
// 700: ["local, woff, eot, woff2"],
// },
// // "Open Sans": {
// // 300: ["local, woff, eot, woff2"],
// // 400: ["local, woff, eot, woff2"],
// // 600: ["local, woff, eot, woff2"],
// // 700: ["local, woff, eot, woff2"],
// // 800: ["local, woff, eot, woff2"],
// // },
// },
// }),
],
};