@weapp-tailwindcss/init 0.0.0 → 0.0.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +308 -305
  2. package/dist/index.mjs +179 -165
  3. package/package.json +7 -7
package/dist/index.mjs CHANGED
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  mod
34
34
  ));
35
35
 
36
- // ../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.2_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js
37
37
  var init_esm_shims = __esm({
38
- "../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.2_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js"() {
38
+ "../../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.2_postcss@8.4.49_tsx@4.19.2_typescript@5.7.3_yaml@2.7.0/node_modules/tsup/assets/esm_shims.js"() {
39
39
  "use strict";
40
40
  }
41
41
  });
@@ -123,14 +123,14 @@ var require_polyfills = __commonJS({
123
123
  fs2.fstatSync = statFixSync(fs2.fstatSync);
124
124
  fs2.lstatSync = statFixSync(fs2.lstatSync);
125
125
  if (fs2.chmod && !fs2.lchmod) {
126
- fs2.lchmod = function(path2, mode, cb) {
126
+ fs2.lchmod = function(path, mode, cb) {
127
127
  if (cb) process.nextTick(cb);
128
128
  };
129
129
  fs2.lchmodSync = function() {
130
130
  };
131
131
  }
132
132
  if (fs2.chown && !fs2.lchown) {
133
- fs2.lchown = function(path2, uid, gid, cb) {
133
+ fs2.lchown = function(path, uid, gid, cb) {
134
134
  if (cb) process.nextTick(cb);
135
135
  };
136
136
  fs2.lchownSync = function() {
@@ -197,9 +197,9 @@ var require_polyfills = __commonJS({
197
197
  };
198
198
  }(fs2.readSync);
199
199
  function patchLchmod(fs3) {
200
- fs3.lchmod = function(path2, mode, callback) {
200
+ fs3.lchmod = function(path, mode, callback) {
201
201
  fs3.open(
202
- path2,
202
+ path,
203
203
  constants.O_WRONLY | constants.O_SYMLINK,
204
204
  mode,
205
205
  function(err, fd) {
@@ -215,8 +215,8 @@ var require_polyfills = __commonJS({
215
215
  }
216
216
  );
217
217
  };
218
- fs3.lchmodSync = function(path2, mode) {
219
- var fd = fs3.openSync(path2, constants.O_WRONLY | constants.O_SYMLINK, mode);
218
+ fs3.lchmodSync = function(path, mode) {
219
+ var fd = fs3.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode);
220
220
  var threw = true;
221
221
  var ret;
222
222
  try {
@@ -237,8 +237,8 @@ var require_polyfills = __commonJS({
237
237
  }
238
238
  function patchLutimes(fs3) {
239
239
  if (constants.hasOwnProperty("O_SYMLINK") && fs3.futimes) {
240
- fs3.lutimes = function(path2, at, mt, cb) {
241
- fs3.open(path2, constants.O_SYMLINK, function(er, fd) {
240
+ fs3.lutimes = function(path, at, mt, cb) {
241
+ fs3.open(path, constants.O_SYMLINK, function(er, fd) {
242
242
  if (er) {
243
243
  if (cb) cb(er);
244
244
  return;
@@ -250,8 +250,8 @@ var require_polyfills = __commonJS({
250
250
  });
251
251
  });
252
252
  };
253
- fs3.lutimesSync = function(path2, at, mt) {
254
- var fd = fs3.openSync(path2, constants.O_SYMLINK);
253
+ fs3.lutimesSync = function(path, at, mt) {
254
+ var fd = fs3.openSync(path, constants.O_SYMLINK);
255
255
  var ret;
256
256
  var threw = true;
257
257
  try {
@@ -371,11 +371,11 @@ var require_legacy_streams = __commonJS({
371
371
  ReadStream,
372
372
  WriteStream
373
373
  };
374
- function ReadStream(path2, options) {
375
- if (!(this instanceof ReadStream)) return new ReadStream(path2, options);
374
+ function ReadStream(path, options) {
375
+ if (!(this instanceof ReadStream)) return new ReadStream(path, options);
376
376
  Stream.call(this);
377
377
  var self = this;
378
- this.path = path2;
378
+ this.path = path;
379
379
  this.fd = null;
380
380
  this.readable = true;
381
381
  this.paused = false;
@@ -420,10 +420,10 @@ var require_legacy_streams = __commonJS({
420
420
  self._read();
421
421
  });
422
422
  }
423
- function WriteStream(path2, options) {
424
- if (!(this instanceof WriteStream)) return new WriteStream(path2, options);
423
+ function WriteStream(path, options) {
424
+ if (!(this instanceof WriteStream)) return new WriteStream(path, options);
425
425
  Stream.call(this);
426
- this.path = path2;
426
+ this.path = path;
427
427
  this.fd = null;
428
428
  this.writable = true;
429
429
  this.flags = "w";
@@ -569,14 +569,14 @@ var require_graceful_fs = __commonJS({
569
569
  fs3.createWriteStream = createWriteStream;
570
570
  var fs$readFile = fs3.readFile;
571
571
  fs3.readFile = readFile;
572
- function readFile(path2, options, cb) {
572
+ function readFile(path, options, cb) {
573
573
  if (typeof options === "function")
574
574
  cb = options, options = null;
575
- return go$readFile(path2, options, cb);
576
- function go$readFile(path3, options2, cb2, startTime) {
577
- return fs$readFile(path3, options2, function(err) {
575
+ return go$readFile(path, options, cb);
576
+ function go$readFile(path2, options2, cb2, startTime) {
577
+ return fs$readFile(path2, options2, function(err) {
578
578
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
579
- enqueue([go$readFile, [path3, options2, cb2], err, startTime || Date.now(), Date.now()]);
579
+ enqueue([go$readFile, [path2, options2, cb2], err, startTime || Date.now(), Date.now()]);
580
580
  else {
581
581
  if (typeof cb2 === "function")
582
582
  cb2.apply(this, arguments);
@@ -586,14 +586,14 @@ var require_graceful_fs = __commonJS({
586
586
  }
587
587
  var fs$writeFile = fs3.writeFile;
588
588
  fs3.writeFile = writeFile;
589
- function writeFile(path2, data, options, cb) {
589
+ function writeFile(path, data, options, cb) {
590
590
  if (typeof options === "function")
591
591
  cb = options, options = null;
592
- return go$writeFile(path2, data, options, cb);
593
- function go$writeFile(path3, data2, options2, cb2, startTime) {
594
- return fs$writeFile(path3, data2, options2, function(err) {
592
+ return go$writeFile(path, data, options, cb);
593
+ function go$writeFile(path2, data2, options2, cb2, startTime) {
594
+ return fs$writeFile(path2, data2, options2, function(err) {
595
595
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
596
- enqueue([go$writeFile, [path3, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
596
+ enqueue([go$writeFile, [path2, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
597
597
  else {
598
598
  if (typeof cb2 === "function")
599
599
  cb2.apply(this, arguments);
@@ -604,14 +604,14 @@ var require_graceful_fs = __commonJS({
604
604
  var fs$appendFile = fs3.appendFile;
605
605
  if (fs$appendFile)
606
606
  fs3.appendFile = appendFile;
607
- function appendFile(path2, data, options, cb) {
607
+ function appendFile(path, data, options, cb) {
608
608
  if (typeof options === "function")
609
609
  cb = options, options = null;
610
- return go$appendFile(path2, data, options, cb);
611
- function go$appendFile(path3, data2, options2, cb2, startTime) {
612
- return fs$appendFile(path3, data2, options2, function(err) {
610
+ return go$appendFile(path, data, options, cb);
611
+ function go$appendFile(path2, data2, options2, cb2, startTime) {
612
+ return fs$appendFile(path2, data2, options2, function(err) {
613
613
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
614
- enqueue([go$appendFile, [path3, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
614
+ enqueue([go$appendFile, [path2, data2, options2, cb2], err, startTime || Date.now(), Date.now()]);
615
615
  else {
616
616
  if (typeof cb2 === "function")
617
617
  cb2.apply(this, arguments);
@@ -642,31 +642,31 @@ var require_graceful_fs = __commonJS({
642
642
  var fs$readdir = fs3.readdir;
643
643
  fs3.readdir = readdir;
644
644
  var noReaddirOptionVersions = /^v[0-5]\./;
645
- function readdir(path2, options, cb) {
645
+ function readdir(path, options, cb) {
646
646
  if (typeof options === "function")
647
647
  cb = options, options = null;
648
- var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path3, options2, cb2, startTime) {
649
- return fs$readdir(path3, fs$readdirCallback(
650
- path3,
648
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir2(path2, options2, cb2, startTime) {
649
+ return fs$readdir(path2, fs$readdirCallback(
650
+ path2,
651
651
  options2,
652
652
  cb2,
653
653
  startTime
654
654
  ));
655
- } : function go$readdir2(path3, options2, cb2, startTime) {
656
- return fs$readdir(path3, options2, fs$readdirCallback(
657
- path3,
655
+ } : function go$readdir2(path2, options2, cb2, startTime) {
656
+ return fs$readdir(path2, options2, fs$readdirCallback(
657
+ path2,
658
658
  options2,
659
659
  cb2,
660
660
  startTime
661
661
  ));
662
662
  };
663
- return go$readdir(path2, options, cb);
664
- function fs$readdirCallback(path3, options2, cb2, startTime) {
663
+ return go$readdir(path, options, cb);
664
+ function fs$readdirCallback(path2, options2, cb2, startTime) {
665
665
  return function(err, files) {
666
666
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
667
667
  enqueue([
668
668
  go$readdir,
669
- [path3, options2, cb2],
669
+ [path2, options2, cb2],
670
670
  err,
671
671
  startTime || Date.now(),
672
672
  Date.now()
@@ -737,7 +737,7 @@ var require_graceful_fs = __commonJS({
737
737
  enumerable: true,
738
738
  configurable: true
739
739
  });
740
- function ReadStream(path2, options) {
740
+ function ReadStream(path, options) {
741
741
  if (this instanceof ReadStream)
742
742
  return fs$ReadStream.apply(this, arguments), this;
743
743
  else
@@ -757,7 +757,7 @@ var require_graceful_fs = __commonJS({
757
757
  }
758
758
  });
759
759
  }
760
- function WriteStream(path2, options) {
760
+ function WriteStream(path, options) {
761
761
  if (this instanceof WriteStream)
762
762
  return fs$WriteStream.apply(this, arguments), this;
763
763
  else
@@ -775,22 +775,22 @@ var require_graceful_fs = __commonJS({
775
775
  }
776
776
  });
777
777
  }
778
- function createReadStream(path2, options) {
779
- return new fs3.ReadStream(path2, options);
778
+ function createReadStream(path, options) {
779
+ return new fs3.ReadStream(path, options);
780
780
  }
781
- function createWriteStream(path2, options) {
782
- return new fs3.WriteStream(path2, options);
781
+ function createWriteStream(path, options) {
782
+ return new fs3.WriteStream(path, options);
783
783
  }
784
784
  var fs$open = fs3.open;
785
785
  fs3.open = open;
786
- function open(path2, flags, mode, cb) {
786
+ function open(path, flags, mode, cb) {
787
787
  if (typeof mode === "function")
788
788
  cb = mode, mode = null;
789
- return go$open(path2, flags, mode, cb);
790
- function go$open(path3, flags2, mode2, cb2, startTime) {
791
- return fs$open(path3, flags2, mode2, function(err, fd) {
789
+ return go$open(path, flags, mode, cb);
790
+ function go$open(path2, flags2, mode2, cb2, startTime) {
791
+ return fs$open(path2, flags2, mode2, function(err, fd) {
792
792
  if (err && (err.code === "EMFILE" || err.code === "ENFILE"))
793
- enqueue([go$open, [path3, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
793
+ enqueue([go$open, [path2, flags2, mode2, cb2], err, startTime || Date.now(), Date.now()]);
794
794
  else {
795
795
  if (typeof cb2 === "function")
796
796
  cb2.apply(this, arguments);
@@ -971,10 +971,10 @@ var require_utils = __commonJS({
971
971
  "../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/mkdirs/utils.js"(exports, module) {
972
972
  "use strict";
973
973
  init_esm_shims();
974
- var path2 = __require("path");
974
+ var path = __require("path");
975
975
  module.exports.checkPath = function checkPath(pth) {
976
976
  if (process.platform === "win32") {
977
- const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path2.parse(pth).root, ""));
977
+ const pathHasInvalidWinCharacters = /[<>:"|?*]/.test(pth.replace(path.parse(pth).root, ""));
978
978
  if (pathHasInvalidWinCharacters) {
979
979
  const error = new Error(`Path contains invalid characters: ${pth}`);
980
980
  error.code = "EINVAL";
@@ -1041,8 +1041,8 @@ var require_path_exists = __commonJS({
1041
1041
  init_esm_shims();
1042
1042
  var u = require_universalify().fromPromise;
1043
1043
  var fs2 = require_fs();
1044
- function pathExists(path2) {
1045
- return fs2.access(path2).then(() => true).catch(() => false);
1044
+ function pathExists(path) {
1045
+ return fs2.access(path).then(() => true).catch(() => false);
1046
1046
  }
1047
1047
  module.exports = {
1048
1048
  pathExists: u(pathExists),
@@ -1058,8 +1058,8 @@ var require_utimes = __commonJS({
1058
1058
  init_esm_shims();
1059
1059
  var fs2 = require_fs();
1060
1060
  var u = require_universalify().fromPromise;
1061
- async function utimesMillis(path2, atime, mtime) {
1062
- const fd = await fs2.open(path2, "r+");
1061
+ async function utimesMillis(path, atime, mtime) {
1062
+ const fd = await fs2.open(path, "r+");
1063
1063
  let closeErr = null;
1064
1064
  try {
1065
1065
  await fs2.futimes(fd, atime, mtime);
@@ -1074,8 +1074,8 @@ var require_utimes = __commonJS({
1074
1074
  throw closeErr;
1075
1075
  }
1076
1076
  }
1077
- function utimesMillisSync(path2, atime, mtime) {
1078
- const fd = fs2.openSync(path2, "r+");
1077
+ function utimesMillisSync(path, atime, mtime) {
1078
+ const fd = fs2.openSync(path, "r+");
1079
1079
  fs2.futimesSync(fd, atime, mtime);
1080
1080
  return fs2.closeSync(fd);
1081
1081
  }
@@ -1092,7 +1092,7 @@ var require_stat = __commonJS({
1092
1092
  "use strict";
1093
1093
  init_esm_shims();
1094
1094
  var fs2 = require_fs();
1095
- var path2 = __require("path");
1095
+ var path = __require("path");
1096
1096
  var u = require_universalify().fromPromise;
1097
1097
  function getStats(src, dest, opts) {
1098
1098
  const statFunc = opts.dereference ? (file) => fs2.stat(file, { bigint: true }) : (file) => fs2.lstat(file, { bigint: true });
@@ -1120,8 +1120,8 @@ var require_stat = __commonJS({
1120
1120
  const { srcStat, destStat } = await getStats(src, dest, opts);
1121
1121
  if (destStat) {
1122
1122
  if (areIdentical(srcStat, destStat)) {
1123
- const srcBaseName = path2.basename(src);
1124
- const destBaseName = path2.basename(dest);
1123
+ const srcBaseName = path.basename(src);
1124
+ const destBaseName = path.basename(dest);
1125
1125
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
1126
1126
  return { srcStat, destStat, isChangingCase: true };
1127
1127
  }
@@ -1143,8 +1143,8 @@ var require_stat = __commonJS({
1143
1143
  const { srcStat, destStat } = getStatsSync(src, dest, opts);
1144
1144
  if (destStat) {
1145
1145
  if (areIdentical(srcStat, destStat)) {
1146
- const srcBaseName = path2.basename(src);
1147
- const destBaseName = path2.basename(dest);
1146
+ const srcBaseName = path.basename(src);
1147
+ const destBaseName = path.basename(dest);
1148
1148
  if (funcName === "move" && srcBaseName !== destBaseName && srcBaseName.toLowerCase() === destBaseName.toLowerCase()) {
1149
1149
  return { srcStat, destStat, isChangingCase: true };
1150
1150
  }
@@ -1163,9 +1163,9 @@ var require_stat = __commonJS({
1163
1163
  return { srcStat, destStat };
1164
1164
  }
1165
1165
  async function checkParentPaths(src, srcStat, dest, funcName) {
1166
- const srcParent = path2.resolve(path2.dirname(src));
1167
- const destParent = path2.resolve(path2.dirname(dest));
1168
- if (destParent === srcParent || destParent === path2.parse(destParent).root) return;
1166
+ const srcParent = path.resolve(path.dirname(src));
1167
+ const destParent = path.resolve(path.dirname(dest));
1168
+ if (destParent === srcParent || destParent === path.parse(destParent).root) return;
1169
1169
  let destStat;
1170
1170
  try {
1171
1171
  destStat = await fs2.stat(destParent, { bigint: true });
@@ -1179,9 +1179,9 @@ var require_stat = __commonJS({
1179
1179
  return checkParentPaths(src, srcStat, destParent, funcName);
1180
1180
  }
1181
1181
  function checkParentPathsSync(src, srcStat, dest, funcName) {
1182
- const srcParent = path2.resolve(path2.dirname(src));
1183
- const destParent = path2.resolve(path2.dirname(dest));
1184
- if (destParent === srcParent || destParent === path2.parse(destParent).root) return;
1182
+ const srcParent = path.resolve(path.dirname(src));
1183
+ const destParent = path.resolve(path.dirname(dest));
1184
+ if (destParent === srcParent || destParent === path.parse(destParent).root) return;
1185
1185
  let destStat;
1186
1186
  try {
1187
1187
  destStat = fs2.statSync(destParent, { bigint: true });
@@ -1198,8 +1198,8 @@ var require_stat = __commonJS({
1198
1198
  return destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
1199
1199
  }
1200
1200
  function isSrcSubdir(src, dest) {
1201
- const srcArr = path2.resolve(src).split(path2.sep).filter((i) => i);
1202
- const destArr = path2.resolve(dest).split(path2.sep).filter((i) => i);
1201
+ const srcArr = path.resolve(src).split(path.sep).filter((i) => i);
1202
+ const destArr = path.resolve(dest).split(path.sep).filter((i) => i);
1203
1203
  return srcArr.every((cur, i) => destArr[i] === cur);
1204
1204
  }
1205
1205
  function errMsg(src, dest, funcName) {
@@ -1225,7 +1225,7 @@ var require_copy = __commonJS({
1225
1225
  "use strict";
1226
1226
  init_esm_shims();
1227
1227
  var fs2 = require_fs();
1228
- var path2 = __require("path");
1228
+ var path = __require("path");
1229
1229
  var { mkdirs } = require_mkdirs();
1230
1230
  var { pathExists } = require_path_exists();
1231
1231
  var { utimesMillis } = require_utimes();
@@ -1247,7 +1247,7 @@ var require_copy = __commonJS({
1247
1247
  await stat.checkParentPaths(src, srcStat, dest, "copy");
1248
1248
  const include = await runFilter(src, dest, opts);
1249
1249
  if (!include) return;
1250
- const destParent = path2.dirname(dest);
1250
+ const destParent = path.dirname(dest);
1251
1251
  const dirExists = await pathExists(destParent);
1252
1252
  if (!dirExists) {
1253
1253
  await mkdirs(destParent);
@@ -1301,8 +1301,8 @@ var require_copy = __commonJS({
1301
1301
  }
1302
1302
  const items = await fs2.readdir(src);
1303
1303
  await Promise.all(items.map(async (item) => {
1304
- const srcItem = path2.join(src, item);
1305
- const destItem = path2.join(dest, item);
1304
+ const srcItem = path.join(src, item);
1305
+ const destItem = path.join(dest, item);
1306
1306
  const include = await runFilter(srcItem, destItem, opts);
1307
1307
  if (!include) return;
1308
1308
  const { destStat: destStat2 } = await stat.checkPaths(srcItem, destItem, "copy", opts);
@@ -1315,7 +1315,7 @@ var require_copy = __commonJS({
1315
1315
  async function onLink(destStat, src, dest, opts) {
1316
1316
  let resolvedSrc = await fs2.readlink(src);
1317
1317
  if (opts.dereference) {
1318
- resolvedSrc = path2.resolve(process.cwd(), resolvedSrc);
1318
+ resolvedSrc = path.resolve(process.cwd(), resolvedSrc);
1319
1319
  }
1320
1320
  if (!destStat) {
1321
1321
  return fs2.symlink(resolvedSrc, dest);
@@ -1328,7 +1328,7 @@ var require_copy = __commonJS({
1328
1328
  throw e;
1329
1329
  }
1330
1330
  if (opts.dereference) {
1331
- resolvedDest = path2.resolve(process.cwd(), resolvedDest);
1331
+ resolvedDest = path.resolve(process.cwd(), resolvedDest);
1332
1332
  }
1333
1333
  if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
1334
1334
  throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);
@@ -1349,7 +1349,7 @@ var require_copy_sync = __commonJS({
1349
1349
  "use strict";
1350
1350
  init_esm_shims();
1351
1351
  var fs2 = require_graceful_fs();
1352
- var path2 = __require("path");
1352
+ var path = __require("path");
1353
1353
  var mkdirsSync = require_mkdirs().mkdirsSync;
1354
1354
  var utimesMillisSync = require_utimes().utimesMillisSync;
1355
1355
  var stat = require_stat();
@@ -1370,7 +1370,7 @@ var require_copy_sync = __commonJS({
1370
1370
  const { srcStat, destStat } = stat.checkPathsSync(src, dest, "copy", opts);
1371
1371
  stat.checkParentPathsSync(src, srcStat, dest, "copy");
1372
1372
  if (opts.filter && !opts.filter(src, dest)) return;
1373
- const destParent = path2.dirname(dest);
1373
+ const destParent = path.dirname(dest);
1374
1374
  if (!fs2.existsSync(destParent)) mkdirsSync(destParent);
1375
1375
  return getStats(destStat, src, dest, opts);
1376
1376
  }
@@ -1431,8 +1431,8 @@ var require_copy_sync = __commonJS({
1431
1431
  fs2.readdirSync(src).forEach((item) => copyDirItem(item, src, dest, opts));
1432
1432
  }
1433
1433
  function copyDirItem(item, src, dest, opts) {
1434
- const srcItem = path2.join(src, item);
1435
- const destItem = path2.join(dest, item);
1434
+ const srcItem = path.join(src, item);
1435
+ const destItem = path.join(dest, item);
1436
1436
  if (opts.filter && !opts.filter(srcItem, destItem)) return;
1437
1437
  const { destStat } = stat.checkPathsSync(srcItem, destItem, "copy", opts);
1438
1438
  return getStats(destStat, srcItem, destItem, opts);
@@ -1440,7 +1440,7 @@ var require_copy_sync = __commonJS({
1440
1440
  function onLink(destStat, src, dest, opts) {
1441
1441
  let resolvedSrc = fs2.readlinkSync(src);
1442
1442
  if (opts.dereference) {
1443
- resolvedSrc = path2.resolve(process.cwd(), resolvedSrc);
1443
+ resolvedSrc = path.resolve(process.cwd(), resolvedSrc);
1444
1444
  }
1445
1445
  if (!destStat) {
1446
1446
  return fs2.symlinkSync(resolvedSrc, dest);
@@ -1453,7 +1453,7 @@ var require_copy_sync = __commonJS({
1453
1453
  throw err;
1454
1454
  }
1455
1455
  if (opts.dereference) {
1456
- resolvedDest = path2.resolve(process.cwd(), resolvedDest);
1456
+ resolvedDest = path.resolve(process.cwd(), resolvedDest);
1457
1457
  }
1458
1458
  if (stat.isSrcSubdir(resolvedSrc, resolvedDest)) {
1459
1459
  throw new Error(`Cannot copy '${resolvedSrc}' to a subdirectory of itself, '${resolvedDest}'.`);
@@ -1492,11 +1492,11 @@ var require_remove = __commonJS({
1492
1492
  init_esm_shims();
1493
1493
  var fs2 = require_graceful_fs();
1494
1494
  var u = require_universalify().fromCallback;
1495
- function remove(path2, callback) {
1496
- fs2.rm(path2, { recursive: true, force: true }, callback);
1495
+ function remove(path, callback) {
1496
+ fs2.rm(path, { recursive: true, force: true }, callback);
1497
1497
  }
1498
- function removeSync(path2) {
1499
- fs2.rmSync(path2, { recursive: true, force: true });
1498
+ function removeSync(path) {
1499
+ fs2.rmSync(path, { recursive: true, force: true });
1500
1500
  }
1501
1501
  module.exports = {
1502
1502
  remove: u(remove),
@@ -1512,7 +1512,7 @@ var require_empty = __commonJS({
1512
1512
  init_esm_shims();
1513
1513
  var u = require_universalify().fromPromise;
1514
1514
  var fs2 = require_fs();
1515
- var path2 = __require("path");
1515
+ var path = __require("path");
1516
1516
  var mkdir = require_mkdirs();
1517
1517
  var remove = require_remove();
1518
1518
  var emptyDir = u(async function emptyDir2(dir) {
@@ -1522,7 +1522,7 @@ var require_empty = __commonJS({
1522
1522
  } catch {
1523
1523
  return mkdir.mkdirs(dir);
1524
1524
  }
1525
- return Promise.all(items.map((item) => remove.remove(path2.join(dir, item))));
1525
+ return Promise.all(items.map((item) => remove.remove(path.join(dir, item))));
1526
1526
  });
1527
1527
  function emptyDirSync(dir) {
1528
1528
  let items;
@@ -1532,7 +1532,7 @@ var require_empty = __commonJS({
1532
1532
  return mkdir.mkdirsSync(dir);
1533
1533
  }
1534
1534
  items.forEach((item) => {
1535
- item = path2.join(dir, item);
1535
+ item = path.join(dir, item);
1536
1536
  remove.removeSync(item);
1537
1537
  });
1538
1538
  }
@@ -1551,7 +1551,7 @@ var require_file = __commonJS({
1551
1551
  "use strict";
1552
1552
  init_esm_shims();
1553
1553
  var u = require_universalify().fromPromise;
1554
- var path2 = __require("path");
1554
+ var path = __require("path");
1555
1555
  var fs2 = require_fs();
1556
1556
  var mkdir = require_mkdirs();
1557
1557
  async function createFile(file) {
@@ -1561,7 +1561,7 @@ var require_file = __commonJS({
1561
1561
  } catch {
1562
1562
  }
1563
1563
  if (stats && stats.isFile()) return;
1564
- const dir = path2.dirname(file);
1564
+ const dir = path.dirname(file);
1565
1565
  let dirStats = null;
1566
1566
  try {
1567
1567
  dirStats = await fs2.stat(dir);
@@ -1587,7 +1587,7 @@ var require_file = __commonJS({
1587
1587
  } catch {
1588
1588
  }
1589
1589
  if (stats && stats.isFile()) return;
1590
- const dir = path2.dirname(file);
1590
+ const dir = path.dirname(file);
1591
1591
  try {
1592
1592
  if (!fs2.statSync(dir).isDirectory()) {
1593
1593
  fs2.readdirSync(dir);
@@ -1611,7 +1611,7 @@ var require_link = __commonJS({
1611
1611
  "use strict";
1612
1612
  init_esm_shims();
1613
1613
  var u = require_universalify().fromPromise;
1614
- var path2 = __require("path");
1614
+ var path = __require("path");
1615
1615
  var fs2 = require_fs();
1616
1616
  var mkdir = require_mkdirs();
1617
1617
  var { pathExists } = require_path_exists();
@@ -1630,7 +1630,7 @@ var require_link = __commonJS({
1630
1630
  throw err;
1631
1631
  }
1632
1632
  if (dstStat && areIdentical(srcStat, dstStat)) return;
1633
- const dir = path2.dirname(dstpath);
1633
+ const dir = path.dirname(dstpath);
1634
1634
  const dirExists = await pathExists(dir);
1635
1635
  if (!dirExists) {
1636
1636
  await mkdir.mkdirs(dir);
@@ -1650,7 +1650,7 @@ var require_link = __commonJS({
1650
1650
  err.message = err.message.replace("lstat", "ensureLink");
1651
1651
  throw err;
1652
1652
  }
1653
- const dir = path2.dirname(dstpath);
1653
+ const dir = path.dirname(dstpath);
1654
1654
  const dirExists = fs2.existsSync(dir);
1655
1655
  if (dirExists) return fs2.linkSync(srcpath, dstpath);
1656
1656
  mkdir.mkdirsSync(dir);
@@ -1668,12 +1668,12 @@ var require_symlink_paths = __commonJS({
1668
1668
  "../../node_modules/.pnpm/fs-extra@11.2.0/node_modules/fs-extra/lib/ensure/symlink-paths.js"(exports, module) {
1669
1669
  "use strict";
1670
1670
  init_esm_shims();
1671
- var path2 = __require("path");
1671
+ var path = __require("path");
1672
1672
  var fs2 = require_fs();
1673
1673
  var { pathExists } = require_path_exists();
1674
1674
  var u = require_universalify().fromPromise;
1675
1675
  async function symlinkPaths(srcpath, dstpath) {
1676
- if (path2.isAbsolute(srcpath)) {
1676
+ if (path.isAbsolute(srcpath)) {
1677
1677
  try {
1678
1678
  await fs2.lstat(srcpath);
1679
1679
  } catch (err) {
@@ -1685,8 +1685,8 @@ var require_symlink_paths = __commonJS({
1685
1685
  toDst: srcpath
1686
1686
  };
1687
1687
  }
1688
- const dstdir = path2.dirname(dstpath);
1689
- const relativeToDst = path2.join(dstdir, srcpath);
1688
+ const dstdir = path.dirname(dstpath);
1689
+ const relativeToDst = path.join(dstdir, srcpath);
1690
1690
  const exists = await pathExists(relativeToDst);
1691
1691
  if (exists) {
1692
1692
  return {
@@ -1702,11 +1702,11 @@ var require_symlink_paths = __commonJS({
1702
1702
  }
1703
1703
  return {
1704
1704
  toCwd: srcpath,
1705
- toDst: path2.relative(dstdir, srcpath)
1705
+ toDst: path.relative(dstdir, srcpath)
1706
1706
  };
1707
1707
  }
1708
1708
  function symlinkPathsSync(srcpath, dstpath) {
1709
- if (path2.isAbsolute(srcpath)) {
1709
+ if (path.isAbsolute(srcpath)) {
1710
1710
  const exists2 = fs2.existsSync(srcpath);
1711
1711
  if (!exists2) throw new Error("absolute srcpath does not exist");
1712
1712
  return {
@@ -1714,8 +1714,8 @@ var require_symlink_paths = __commonJS({
1714
1714
  toDst: srcpath
1715
1715
  };
1716
1716
  }
1717
- const dstdir = path2.dirname(dstpath);
1718
- const relativeToDst = path2.join(dstdir, srcpath);
1717
+ const dstdir = path.dirname(dstpath);
1718
+ const relativeToDst = path.join(dstdir, srcpath);
1719
1719
  const exists = fs2.existsSync(relativeToDst);
1720
1720
  if (exists) {
1721
1721
  return {
@@ -1727,7 +1727,7 @@ var require_symlink_paths = __commonJS({
1727
1727
  if (!srcExists) throw new Error("relative srcpath does not exist");
1728
1728
  return {
1729
1729
  toCwd: srcpath,
1730
- toDst: path2.relative(dstdir, srcpath)
1730
+ toDst: path.relative(dstdir, srcpath)
1731
1731
  };
1732
1732
  }
1733
1733
  module.exports = {
@@ -1777,7 +1777,7 @@ var require_symlink = __commonJS({
1777
1777
  "use strict";
1778
1778
  init_esm_shims();
1779
1779
  var u = require_universalify().fromPromise;
1780
- var path2 = __require("path");
1780
+ var path = __require("path");
1781
1781
  var fs2 = require_fs();
1782
1782
  var { mkdirs, mkdirsSync } = require_mkdirs();
1783
1783
  var { symlinkPaths, symlinkPathsSync } = require_symlink_paths();
@@ -1800,7 +1800,7 @@ var require_symlink = __commonJS({
1800
1800
  const relative2 = await symlinkPaths(srcpath, dstpath);
1801
1801
  srcpath = relative2.toDst;
1802
1802
  const toType = await symlinkType(relative2.toCwd, type);
1803
- const dir = path2.dirname(dstpath);
1803
+ const dir = path.dirname(dstpath);
1804
1804
  if (!await pathExists(dir)) {
1805
1805
  await mkdirs(dir);
1806
1806
  }
@@ -1820,7 +1820,7 @@ var require_symlink = __commonJS({
1820
1820
  const relative2 = symlinkPathsSync(srcpath, dstpath);
1821
1821
  srcpath = relative2.toDst;
1822
1822
  type = symlinkTypeSync(relative2.toCwd, type);
1823
- const dir = path2.dirname(dstpath);
1823
+ const dir = path.dirname(dstpath);
1824
1824
  const exists = fs2.existsSync(dir);
1825
1825
  if (exists) return fs2.symlinkSync(srcpath, dstpath, type);
1826
1826
  mkdirsSync(dir);
@@ -1977,18 +1977,18 @@ var require_output_file = __commonJS({
1977
1977
  init_esm_shims();
1978
1978
  var u = require_universalify().fromPromise;
1979
1979
  var fs2 = require_fs();
1980
- var path2 = __require("path");
1980
+ var path = __require("path");
1981
1981
  var mkdir = require_mkdirs();
1982
1982
  var pathExists = require_path_exists().pathExists;
1983
1983
  async function outputFile(file, data, encoding = "utf-8") {
1984
- const dir = path2.dirname(file);
1984
+ const dir = path.dirname(file);
1985
1985
  if (!await pathExists(dir)) {
1986
1986
  await mkdir.mkdirs(dir);
1987
1987
  }
1988
1988
  return fs2.writeFile(file, data, encoding);
1989
1989
  }
1990
1990
  function outputFileSync(file, ...args) {
1991
- const dir = path2.dirname(file);
1991
+ const dir = path.dirname(file);
1992
1992
  if (!fs2.existsSync(dir)) {
1993
1993
  mkdir.mkdirsSync(dir);
1994
1994
  }
@@ -2056,7 +2056,7 @@ var require_move = __commonJS({
2056
2056
  "use strict";
2057
2057
  init_esm_shims();
2058
2058
  var fs2 = require_fs();
2059
- var path2 = __require("path");
2059
+ var path = __require("path");
2060
2060
  var { copy } = require_copy2();
2061
2061
  var { remove } = require_remove();
2062
2062
  var { mkdirp } = require_mkdirs();
@@ -2066,8 +2066,8 @@ var require_move = __commonJS({
2066
2066
  const overwrite = opts.overwrite || opts.clobber || false;
2067
2067
  const { srcStat, isChangingCase = false } = await stat.checkPaths(src, dest, "move", opts);
2068
2068
  await stat.checkParentPaths(src, srcStat, dest, "move");
2069
- const destParent = path2.dirname(dest);
2070
- const parsedParentPath = path2.parse(destParent);
2069
+ const destParent = path.dirname(dest);
2070
+ const parsedParentPath = path.parse(destParent);
2071
2071
  if (parsedParentPath.root !== destParent) {
2072
2072
  await mkdirp(destParent);
2073
2073
  }
@@ -2109,7 +2109,7 @@ var require_move_sync = __commonJS({
2109
2109
  "use strict";
2110
2110
  init_esm_shims();
2111
2111
  var fs2 = require_graceful_fs();
2112
- var path2 = __require("path");
2112
+ var path = __require("path");
2113
2113
  var copySync = require_copy2().copySync;
2114
2114
  var removeSync = require_remove().removeSync;
2115
2115
  var mkdirpSync = require_mkdirs().mkdirpSync;
@@ -2119,12 +2119,12 @@ var require_move_sync = __commonJS({
2119
2119
  const overwrite = opts.overwrite || opts.clobber || false;
2120
2120
  const { srcStat, isChangingCase = false } = stat.checkPathsSync(src, dest, "move", opts);
2121
2121
  stat.checkParentPathsSync(src, srcStat, dest, "move");
2122
- if (!isParentRoot(dest)) mkdirpSync(path2.dirname(dest));
2122
+ if (!isParentRoot(dest)) mkdirpSync(path.dirname(dest));
2123
2123
  return doRename(src, dest, overwrite, isChangingCase);
2124
2124
  }
2125
2125
  function isParentRoot(dest) {
2126
- const parent = path2.dirname(dest);
2127
- const parsedPath = path2.parse(parent);
2126
+ const parent = path.dirname(dest);
2127
+ const parsedPath = path.parse(parent);
2128
2128
  return parsedPath.root === parent;
2129
2129
  }
2130
2130
  function doRename(src, dest, overwrite, isChangingCase) {
@@ -2199,10 +2199,10 @@ import process2 from "node:process";
2199
2199
  import { logger } from "@weapp-tailwindcss/logger";
2200
2200
  import { defu as defu2, setValue } from "@weapp-tailwindcss/shared";
2201
2201
 
2202
- // ../../node_modules/.pnpm/pathe@2.0.0/node_modules/pathe/dist/index.mjs
2202
+ // ../../node_modules/.pnpm/pathe@2.0.1/node_modules/pathe/dist/index.mjs
2203
2203
  init_esm_shims();
2204
2204
 
2205
- // ../../node_modules/.pnpm/pathe@2.0.0/node_modules/pathe/dist/shared/pathe.DTxyUWQ9.mjs
2205
+ // ../../node_modules/.pnpm/pathe@2.0.1/node_modules/pathe/dist/shared/pathe.BLwDEnA5.mjs
2206
2206
  init_esm_shims();
2207
2207
  var _lazyMatch = () => {
2208
2208
  var __lib__ = (() => {
@@ -2362,12 +2362,12 @@ var _lazyMatch = () => {
2362
2362
  return __lib__.default || __lib__;
2363
2363
  };
2364
2364
  var _match;
2365
- var zeptomatch = (path2, pattern) => {
2365
+ var zeptomatch = (path, pattern) => {
2366
2366
  if (!_match) {
2367
2367
  _match = _lazyMatch();
2368
2368
  _lazyMatch = null;
2369
2369
  }
2370
- return _match(path2, pattern);
2370
+ return _match(path, pattern);
2371
2371
  };
2372
2372
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
2373
2373
  function normalizeWindowsPath(input = "") {
@@ -2383,56 +2383,55 @@ var _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
2383
2383
  var _EXTNAME_RE = /.(\.[^./]+)$/;
2384
2384
  var _PATH_ROOT_RE = /^[/\\]|^[a-zA-Z]:[/\\]/;
2385
2385
  var sep = "/";
2386
- var delimiter = globalThis.process?.platform === "win32" ? ";" : ":";
2387
- var normalize = function(path2) {
2388
- if (path2.length === 0) {
2386
+ var normalize = function(path) {
2387
+ if (path.length === 0) {
2389
2388
  return ".";
2390
2389
  }
2391
- path2 = normalizeWindowsPath(path2);
2392
- const isUNCPath = path2.match(_UNC_REGEX);
2393
- const isPathAbsolute = isAbsolute(path2);
2394
- const trailingSeparator = path2[path2.length - 1] === "/";
2395
- path2 = normalizeString(path2, !isPathAbsolute);
2396
- if (path2.length === 0) {
2390
+ path = normalizeWindowsPath(path);
2391
+ const isUNCPath = path.match(_UNC_REGEX);
2392
+ const isPathAbsolute = isAbsolute(path);
2393
+ const trailingSeparator = path[path.length - 1] === "/";
2394
+ path = normalizeString(path, !isPathAbsolute);
2395
+ if (path.length === 0) {
2397
2396
  if (isPathAbsolute) {
2398
2397
  return "/";
2399
2398
  }
2400
2399
  return trailingSeparator ? "./" : ".";
2401
2400
  }
2402
2401
  if (trailingSeparator) {
2403
- path2 += "/";
2402
+ path += "/";
2404
2403
  }
2405
- if (_DRIVE_LETTER_RE.test(path2)) {
2406
- path2 += "/";
2404
+ if (_DRIVE_LETTER_RE.test(path)) {
2405
+ path += "/";
2407
2406
  }
2408
2407
  if (isUNCPath) {
2409
2408
  if (!isPathAbsolute) {
2410
- return `//./${path2}`;
2409
+ return `//./${path}`;
2411
2410
  }
2412
- return `//${path2}`;
2411
+ return `//${path}`;
2413
2412
  }
2414
- return isPathAbsolute && !isAbsolute(path2) ? `/${path2}` : path2;
2413
+ return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
2415
2414
  };
2416
2415
  var join = function(...segments) {
2417
- let path2 = "";
2416
+ let path = "";
2418
2417
  for (const seg of segments) {
2419
2418
  if (!seg) {
2420
2419
  continue;
2421
2420
  }
2422
- if (path2.length > 0) {
2423
- const pathTrailing = path2[path2.length - 1] === "/";
2421
+ if (path.length > 0) {
2422
+ const pathTrailing = path[path.length - 1] === "/";
2424
2423
  const segLeading = seg[0] === "/";
2425
2424
  const both = pathTrailing && segLeading;
2426
2425
  if (both) {
2427
- path2 += seg.slice(1);
2426
+ path += seg.slice(1);
2428
2427
  } else {
2429
- path2 += pathTrailing || segLeading ? seg : `/${seg}`;
2428
+ path += pathTrailing || segLeading ? seg : `/${seg}`;
2430
2429
  }
2431
2430
  } else {
2432
- path2 += seg;
2431
+ path += seg;
2433
2432
  }
2434
2433
  }
2435
- return normalize(path2);
2434
+ return normalize(path);
2436
2435
  };
2437
2436
  function cwd() {
2438
2437
  if (typeof process !== "undefined" && typeof process.cwd === "function") {
@@ -2445,12 +2444,12 @@ var resolve = function(...arguments_) {
2445
2444
  let resolvedPath = "";
2446
2445
  let resolvedAbsolute = false;
2447
2446
  for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
2448
- const path2 = index >= 0 ? arguments_[index] : cwd();
2449
- if (!path2 || path2.length === 0) {
2447
+ const path = index >= 0 ? arguments_[index] : cwd();
2448
+ if (!path || path.length === 0) {
2450
2449
  continue;
2451
2450
  }
2452
- resolvedPath = `${path2}/${resolvedPath}`;
2453
- resolvedAbsolute = isAbsolute(path2);
2451
+ resolvedPath = `${path}/${resolvedPath}`;
2452
+ resolvedAbsolute = isAbsolute(path);
2454
2453
  }
2455
2454
  resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute);
2456
2455
  if (resolvedAbsolute && !isAbsolute(resolvedPath)) {
@@ -2458,15 +2457,15 @@ var resolve = function(...arguments_) {
2458
2457
  }
2459
2458
  return resolvedPath.length > 0 ? resolvedPath : ".";
2460
2459
  };
2461
- function normalizeString(path2, allowAboveRoot) {
2460
+ function normalizeString(path, allowAboveRoot) {
2462
2461
  let res = "";
2463
2462
  let lastSegmentLength = 0;
2464
2463
  let lastSlash = -1;
2465
2464
  let dots = 0;
2466
2465
  let char = null;
2467
- for (let index = 0; index <= path2.length; ++index) {
2468
- if (index < path2.length) {
2469
- char = path2[index];
2466
+ for (let index = 0; index <= path.length; ++index) {
2467
+ if (index < path.length) {
2468
+ char = path[index];
2470
2469
  } else if (char === "/") {
2471
2470
  break;
2472
2471
  } else {
@@ -2502,9 +2501,9 @@ function normalizeString(path2, allowAboveRoot) {
2502
2501
  }
2503
2502
  } else {
2504
2503
  if (res.length > 0) {
2505
- res += `/${path2.slice(lastSlash + 1, index)}`;
2504
+ res += `/${path.slice(lastSlash + 1, index)}`;
2506
2505
  } else {
2507
- res = path2.slice(lastSlash + 1, index);
2506
+ res = path.slice(lastSlash + 1, index);
2508
2507
  }
2509
2508
  lastSegmentLength = index - lastSlash - 1;
2510
2509
  }
@@ -2581,13 +2580,12 @@ var parse = function(p) {
2581
2580
  name: base.slice(0, base.length - extension.length)
2582
2581
  };
2583
2582
  };
2584
- var matchesGlob = (path2, pattern) => {
2585
- return zeptomatch(pattern, normalize(path2));
2583
+ var matchesGlob = (path, pattern) => {
2584
+ return zeptomatch(pattern, normalize(path));
2586
2585
  };
2587
- var path = {
2586
+ var _path = {
2588
2587
  __proto__: null,
2589
2588
  basename,
2590
- delimiter,
2591
2589
  dirname,
2592
2590
  extname,
2593
2591
  format,
@@ -2603,6 +2601,22 @@ var path = {
2603
2601
  toNamespacedPath
2604
2602
  };
2605
2603
 
2604
+ // ../../node_modules/.pnpm/pathe@2.0.1/node_modules/pathe/dist/index.mjs
2605
+ var delimiter = /* @__PURE__ */ (() => globalThis.process?.platform === "win32" ? ";" : ":")();
2606
+ var _platforms = { posix: void 0, win32: void 0 };
2607
+ var mix = (del = delimiter) => {
2608
+ return new Proxy(_path, {
2609
+ get(_, prop) {
2610
+ if (prop === "delimiter") return del;
2611
+ if (prop === "posix") return posix;
2612
+ if (prop === "win32") return win32;
2613
+ return _platforms[prop] || _path[prop];
2614
+ }
2615
+ });
2616
+ };
2617
+ var posix = /* @__PURE__ */ mix(":");
2618
+ var win32 = /* @__PURE__ */ mix(";");
2619
+
2606
2620
  // src/npm.ts
2607
2621
  init_esm_shims();
2608
2622
  import { defu } from "@weapp-tailwindcss/shared";
@@ -2640,7 +2654,7 @@ async function getDevDepsVersions(options) {
2640
2654
  // src/index.ts
2641
2655
  async function createContext(options) {
2642
2656
  const { cwd: cwd2, pkgJsonBasename, postcssConfigBasename, tailwindConfigBasename, fetchOptions } = options;
2643
- const pkgJsonPath = path.resolve(cwd2, pkgJsonBasename);
2657
+ const pkgJsonPath = posix.resolve(cwd2, pkgJsonBasename);
2644
2658
  if (await import_fs_extra.default.exists(pkgJsonPath)) {
2645
2659
  const pkgJson = await import_fs_extra.default.readJson(pkgJsonPath);
2646
2660
  const versions = await getDevDepsVersions(fetchOptions);
@@ -2675,7 +2689,7 @@ async function touchPostcssConfig(ctx) {
2675
2689
  },
2676
2690
  }
2677
2691
  `;
2678
- await import_fs_extra.default.writeFile(path.resolve(ctx.cwd, ctx.postcssConfigBasename), data);
2692
+ await import_fs_extra.default.writeFile(posix.resolve(ctx.cwd, ctx.postcssConfigBasename), data);
2679
2693
  }
2680
2694
  async function touchTailwindConfig(ctx) {
2681
2695
  const data = `/** @type {import('tailwindcss').Config} */
@@ -2692,7 +2706,7 @@ ${ctx.type === "module" ? "export default " : "module.exports = "}{
2692
2706
  },
2693
2707
  }
2694
2708
  `;
2695
- await import_fs_extra.default.writeFile(path.resolve(ctx.cwd, ctx.tailwindConfigBasename), data);
2709
+ await import_fs_extra.default.writeFile(posix.resolve(ctx.cwd, ctx.tailwindConfigBasename), data);
2696
2710
  }
2697
2711
  function getInitDefaults() {
2698
2712
  return {