diff options
author | Wang Chucheng <ccwangchn@gmail.com> | 2020-10-18 17:43:49 +0300 |
---|---|---|
committer | Wang Chucheng <ccwangchn@gmail.com> | 2020-10-18 17:43:49 +0300 |
commit | 326567e7c6c44025128c519fda3f51e8e5a4cc38 (patch) | |
tree | c05eb0be21b5e6bb6c620929d5c962f4a5bd6db0 /assets | |
parent | 20b0a8ce3b00597ad4855d0de920e160cac540e3 (diff) |
chore: improve build process
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/tailwind.config.js | 2 |
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', |