diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index fdd4ce0..8e4a745 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '22' cache: 'npm' # The action defaults to search for the dependency file (package-lock.json, # npm-shrinkwrap.json or yarn.lock) in the repository root, and uses its diff --git a/browserslist-stats.json b/browserslist-stats.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/browserslist-stats.json @@ -0,0 +1 @@ +{} diff --git a/package.json b/package.json index c031a78..c4fed83 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,7 @@ { + "browserslist": [ + "defaults" + ], "dependencies": { "alpinejs": "^3.10.3" }, diff --git a/postcss.config.js b/postcss.config.js index 05a4c7b..a173385 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,6 +1,8 @@ module.exports = { plugins: [ - require("postcss-preset-env")(), + require("postcss-preset-env")({ + browsers: "defaults" + }), require("postcss-import")(), require("autoprefixer")(), ...process.env.HUGO_ENV === 'production'