diff options
author | Wang Chucheng <ccwangchn@gmail.com> | 2020-05-28 03:23:54 +0300 |
---|---|---|
committer | Wang Chucheng <ccwangchn@gmail.com> | 2020-05-28 03:23:54 +0300 |
commit | 784f79dae720eb4c5e74793a0735a2013fc8a7fd (patch) | |
tree | 8fdc4b8dd60686a53e289bae84cfdd93944497cf /assets/css/tailwind.config.js | |
parent | 51714dd1ca8d3368d5e24f88e6f37af5df71bf24 (diff) |
refactor: change url format from relURL to absURL
Diffstat (limited to 'assets/css/tailwind.config.js')
-rw-r--r-- | assets/css/tailwind.config.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/assets/css/tailwind.config.js b/assets/css/tailwind.config.js index 58c9603..af75cf1 100644 --- a/assets/css/tailwind.config.js +++ b/assets/css/tailwind.config.js @@ -1,5 +1,16 @@ +const themeDir = __dirname + '/../../'; + module.exports = { important: true, + purge: { + enabled: true, + content: [ + themeDir + 'layouts/**/*.html', + themeDir + 'exampleSite/content/**/*.html', + 'layouts/**/*.html', + 'content/**/*.html', + ], + }, theme: { fontFamily: { 'serif': ['Lora', 'Noto Serif SC', 'serif'], |