diff --git a/package.json b/package.json index c668b74..320d651 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/postcss.config.js b/postcss.config.js index 98796a1..6c6a360 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -7,6 +7,6 @@ module.exports = { require('postcss-import'), require('@tailwindcss/nesting'), tailwind, - ...(process.env.HUGO_ENVIRONMENT === 'production' ? [autoprefixer] : []) + autoprefixer ], };