forked from drowl87/hextra_mirror
chore: update build configs
This commit is contained in:
parent
d1bc057c09
commit
af77173a35
@ -1,6 +1,6 @@
|
||||
{
|
||||
"scripts": {
|
||||
"dev:theme": "hugo server --environment=theme --source=exampleSite --themesDir=../.. --disableFastRender -D --port 1313",
|
||||
"dev:theme": "hugo server --logLevel debug --environment=theme --source=exampleSite --themesDir=../.. --disableFastRender -D --port 1313",
|
||||
"dev": "hugo server --source=exampleSite --themesDir=../.. --disableFastRender -D --port 1313",
|
||||
"build:css": "npx postcss --config postcss.config.js --env production assets/css/styles.css -o assets/css/compiled/main.css",
|
||||
"build": "hugo --gc --minify --themesDir=../.. --source=exampleSite"
|
||||
|
@ -7,6 +7,6 @@ module.exports = {
|
||||
require('postcss-import'),
|
||||
require('@tailwindcss/nesting'),
|
||||
tailwind,
|
||||
...(process.env.HUGO_ENVIRONMENT === 'production' ? [autoprefixer] : [])
|
||||
autoprefixer
|
||||
],
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user