Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorWang Chucheng <ccwangchn@gmail.com>2020-10-18 17:43:49 +0300
committerWang Chucheng <ccwangchn@gmail.com>2020-10-18 17:43:49 +0300
commit326567e7c6c44025128c519fda3f51e8e5a4cc38 (patch)
treec05eb0be21b5e6bb6c620929d5c962f4a5bd6db0 /assets
parent20b0a8ce3b00597ad4855d0de920e160cac540e3 (diff)
chore: improve build process
Diffstat (limited to 'assets')
-rw-r--r--assets/css/tailwind.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/css/tailwind.config.js b/assets/css/tailwind.config.js
index bbf719d..e548118 100644
--- a/assets/css/tailwind.config.js
+++ b/assets/css/tailwind.config.js
@@ -3,7 +3,7 @@ const themeDir = __dirname + '/../../';
module.exports = {
important: true,
purge: {
- enabled: true,
+ enabled: process.env.HUGO_ENVIRONMENT === 'production',
content: [
themeDir + 'layouts/**/*.html',
themeDir + 'exampleSite/content/**/*.html',