From c12e991c28696babc95c6f1baa5d7182604e6261 Mon Sep 17 00:00:00 2001 From: Dwayne Charrington Date: Mon, 16 Dec 2024 10:03:07 +1000 Subject: [PATCH] chore(build): cleanup and attempting to fix things --- .github/workflows/hugo.yml | 2 -- config/_default/hugo.toml | 0 config/production/config.toml | 1 - hugo.toml | 16 +--------------- postcss.config.js | 1 - 5 files changed, 1 insertion(+), 19 deletions(-) create mode 100644 config/_default/hugo.toml diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index de813b1..43c9a73 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -73,8 +73,6 @@ jobs: hugo \ --minify \ --baseURL "${{ steps.pages.outputs.base_url }}" - - name: Build Tailwind CSS - run: npm run build:tw - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml new file mode 100644 index 0000000..e69de29 diff --git a/config/production/config.toml b/config/production/config.toml index adeabb3..2539cb5 100644 --- a/config/production/config.toml +++ b/config/production/config.toml @@ -1,5 +1,4 @@ baseURL = "https://aurelia.io/website/" -publishDir = "public" [params] pathPrefix = "/website" \ No newline at end of file diff --git a/hugo.toml b/hugo.toml index 1e6befc..353cbaa 100644 --- a/hugo.toml +++ b/hugo.toml @@ -7,18 +7,4 @@ theme = "aurelia-theme" pathPrefix = "" [outputs] - home = ["HTML", "RSS", "JSON"] - -[build] - writeStats = true - -[module] - [module.hugoVersion] - extended = true - [[module.mounts]] - source = "assets" - target = "assets" - - [[module.mounts]] - source = "static" - target = "static" \ No newline at end of file + home = ["HTML", "RSS", "JSON"] \ No newline at end of file diff --git a/postcss.config.js b/postcss.config.js index 59bd88d..61f9c0f 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -3,6 +3,5 @@ module.exports = { '@tailwindcss/postcss': { config: './tailwind.config.js', }, - 'autoprefixer': {}, } };