aboutsummaryrefslogtreecommitdiff
path: root/config/postcss.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/postcss.config.js')
-rw-r--r--config/postcss.config.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/config/postcss.config.js b/config/postcss.config.js
deleted file mode 100644
index ee0749c..0000000
--- a/config/postcss.config.js
+++ /dev/null
@@ -1,21 +0,0 @@
-const themeDir = __dirname + "/../";
-
-const cssnanoPlugin = require("cssnano")({
- path: [themeDir],
- preset: [
- "default",
- {
- discardComments: {
- removeAll: true,
- },
- },
- ],
-});
-
-module.exports = {
- plugins: [
- require("tailwindcss")(themeDir + "./config/tailwind.config.js"),
- require("autoprefixer")({ path: [themeDir] }),
- ...(process.env.HUGO_ENVIRONMENT === "production" ? [cssnanoPlugin] : []),
- ],
-};