mirror of
https://github.com/imfing/hextra.git
synced 2025-05-13 18:36:26 -04:00
chore: update build configs
This commit is contained in:
parent
d1bc057c09
commit
af77173a35
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"scripts": {
|
"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",
|
"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: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"
|
"build": "hugo --gc --minify --themesDir=../.. --source=exampleSite"
|
||||||
|
@ -7,6 +7,6 @@ module.exports = {
|
|||||||
require('postcss-import'),
|
require('postcss-import'),
|
||||||
require('@tailwindcss/nesting'),
|
require('@tailwindcss/nesting'),
|
||||||
tailwind,
|
tailwind,
|
||||||
...(process.env.HUGO_ENVIRONMENT === 'production' ? [autoprefixer] : [])
|
autoprefixer
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user