Fixed postcss errors on some platforms

This commit is contained in:
Spxg
2025-05-17 11:14:51 +08:00
parent 179c4dc56c
commit aa793399bb
3 changed files with 3 additions and 3 deletions

View File

@@ -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");