diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index 01f91d2..04375e1 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -18,7 +18,7 @@ jobs: with: node-version: 22 - run: npm install - - run: npx postcss --dir assets/module.postcss assets/module.css/**/*.css --base assets/module.css + - run: npx postcss --dir assets/module.postcss assets/module.css --base assets/module.css - name: List postcss run: | diff --git a/README.md b/README.md index 679cca6..d8f6e09 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Because the layout and component design are derived from it, but rewritten using ```sh npm install -npx postcss --dir assets/module.postcss assets/module.css/**/*.css --base assets/module.css +npx postcss --dir assets/module.postcss assets/module.css --base assets/module.css # Choose your preferred installation method # https://trunkrs.dev/#install cargo install trunk --locked diff --git a/postcss.config.js b/postcss.config.js index 785cf29..246a110 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -4,7 +4,7 @@ module.exports = { require('postcss-preset-env')(), require('postcss-mixins')(), require("postcss-modules")({ - getJSON: function(x, json, outputFileName) { + getJSON: function(_, json, outputFileName) { var path = require("path"); var fs = require("fs"); var jsonPath = path.resolve(outputFileName + ".map");