Skip to content

Commit

Permalink
chore: update build configs
Browse files Browse the repository at this point in the history
  • Loading branch information
imfing committed Aug 26, 2023
1 parent d1bc057 commit af77173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ module.exports = {
require('postcss-import'),
require('@tailwindcss/nesting'),
tailwind,
...(process.env.HUGO_ENVIRONMENT === 'production' ? [autoprefixer] : [])
autoprefixer
],
};

0 comments on commit af77173

Please sign in to comment.