@windicss/config
Advanced tools
Comparing version 1.8.10 to 1.9.0
@@ -21,2 +21,6 @@ "use strict"; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
@@ -34,4 +38,4 @@ mod | ||
module.exports = __toCommonJS(src_exports); | ||
var import_fs = __toESM(require("fs")); | ||
var import_path = __toESM(require("path")); | ||
var import_node_fs = __toESM(require("fs")); | ||
var import_node_path = __toESM(require("path")); | ||
var import_debug = __toESM(require("debug")); | ||
@@ -76,4 +80,4 @@ var import_jiti = __toESM(require("jiti")); | ||
for (const name2 of configureFiles) { | ||
const tryPath = import_path.default.resolve(root, name2); | ||
if (import_fs.default.existsSync(tryPath)) { | ||
const tryPath = import_node_path.default.resolve(root, name2); | ||
if (import_node_fs.default.existsSync(tryPath)) { | ||
configFilePath = tryPath; | ||
@@ -84,4 +88,4 @@ break; | ||
} else { | ||
configFilePath = import_path.default.resolve(root, config); | ||
if (!import_fs.default.existsSync(configFilePath)) { | ||
configFilePath = import_node_path.default.resolve(root, config); | ||
if (!import_node_fs.default.existsSync(configFilePath)) { | ||
onConfigurationNotFound(config); | ||
@@ -88,0 +92,0 @@ configFilePath = void 0; |
{ | ||
"name": "@windicss/config", | ||
"version": "1.8.10", | ||
"version": "1.9.0", | ||
"description": "Windi CSS configurations loader", | ||
@@ -33,3 +33,3 @@ "author": "antfu <anthonyfu117@hotmail.com>", | ||
"debug": "^4.3.4", | ||
"jiti": "^1.16.0", | ||
"jiti": "^1.18.2", | ||
"windicss": "^3.5.6" | ||
@@ -36,0 +36,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9763
244
1
Updatedjiti@^1.18.2