@csszyx/unplugin 0.11.8 → 0.11.10
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.
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +4 -4
- package/dist/next-prebuild.cjs +4 -4
- package/dist/next-prebuild.d.cts +1 -1
- package/dist/next-prebuild.d.mts +1 -1
- package/dist/next-prebuild.mjs +4 -4
- package/dist/next-turbo-loader.cjs +5 -5
- package/dist/next-turbo-loader.d.cts +1 -1
- package/dist/next-turbo-loader.d.mts +1 -1
- package/dist/next-turbo-loader.mjs +5 -5
- package/dist/next-watcher.cjs +2 -2
- package/dist/next-watcher.mjs +2 -2
- package/dist/shared/{unplugin.Rl8sIkHi.mjs → unplugin.-yLpX1Ck.mjs} +3 -3
- package/dist/shared/{unplugin.TtmP77BS.mjs → unplugin.B3XoSRB8.mjs} +1 -1
- package/dist/shared/{unplugin.DdtOZANG.cjs → unplugin.BZq6FKn2.cjs} +3 -3
- package/dist/shared/{unplugin.CcA7jP1r.cjs → unplugin.BkRah5Ot.cjs} +1 -1
- package/dist/shared/{unplugin.DVCQC5wq.cjs → unplugin.CKIOVNOg.cjs} +9 -0
- package/dist/shared/{unplugin.DtPQz8Kg.cjs → unplugin.CRuVOB4Q.cjs} +147 -52
- package/dist/shared/{unplugin.DtYxS8M8.mjs → unplugin.CVMbUfH5.mjs} +145 -50
- package/dist/shared/{unplugin.CScQRdTp.d.mts → unplugin.CXV7fOa2.d.cts} +1 -1
- package/dist/shared/{unplugin.CScQRdTp.d.cts → unplugin.CXV7fOa2.d.mts} +1 -1
- package/dist/shared/{unplugin.CNwV3RrQ.d.cts → unplugin.CjCKWnoX.d.cts} +7 -1
- package/dist/shared/{unplugin.CNwV3RrQ.d.mts → unplugin.CjCKWnoX.d.mts} +7 -1
- package/dist/shared/{unplugin.DmuOKVS4.cjs → unplugin.Cnxm1DcC.cjs} +2 -2
- package/dist/shared/{unplugin.Dg1tGPSd.mjs → unplugin.DMcbmP01.mjs} +47 -47
- package/dist/shared/{unplugin.C9dMG7ye.cjs → unplugin.DblMogcN.cjs} +47 -47
- package/dist/shared/{unplugin.nnsa7OVW.mjs → unplugin.Lhzkcj-A.mjs} +2 -2
- package/dist/shared/{unplugin.D-K57LNR.mjs → unplugin.fOnGXWgS.mjs} +9 -1
- package/dist/vite.cjs +4 -4
- package/dist/vite.d.cts +1 -1
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +4 -4
- package/dist/webpack.cjs +4 -4
- package/dist/webpack.d.cts +1 -1
- package/dist/webpack.d.mts +1 -1
- package/dist/webpack.mjs +4 -4
- package/package.json +17 -17
|
@@ -334,7 +334,7 @@ declare function findLocalImportSources(code: string): string[];
|
|
|
334
334
|
*
|
|
335
335
|
* Supports:
|
|
336
336
|
* - Multiple @theme blocks per file
|
|
337
|
-
* - @theme inline
|
|
337
|
+
* - @theme option keywords (inline, static, reference, combinations — ignored)
|
|
338
338
|
* - @theme inside @layer (two-pass strip)
|
|
339
339
|
* - --color-brand-50 shade suffixes (deduped to 'brand')
|
|
340
340
|
* - Multi-file merge via mergeThemes()
|
|
@@ -407,6 +407,12 @@ interface PluginState {
|
|
|
407
407
|
classes: Set<string>;
|
|
408
408
|
/** Merged @theme scan result — feeds the theme-groups virtual module. */
|
|
409
409
|
parsedTheme: ParsedTheme | null;
|
|
410
|
+
/**
|
|
411
|
+
* CSS files the zero-config @theme auto-scan found tokens in (only when
|
|
412
|
+
* `build.scanCss` is unset). Dev HMR re-scans when one of these — or any
|
|
413
|
+
* other .css file — changes, mirroring the explicit scanCss reload path.
|
|
414
|
+
*/
|
|
415
|
+
autoThemeCssFiles: string[];
|
|
410
416
|
/**
|
|
411
417
|
* True once any processed CSS file was seen importing `tailwindcss`. Used to
|
|
412
418
|
* warn at build end when csszyx generated classes but nothing makes Tailwind
|
|
@@ -11,13 +11,13 @@ function insertAfterUseDirective(code, insertion) {
|
|
|
11
11
|
if (triviaLength === 0) break;
|
|
12
12
|
offset += triviaLength;
|
|
13
13
|
}
|
|
14
|
-
const directive = code.slice(offset)
|
|
14
|
+
const directive = USE_DIRECTIVE_RE.exec(code.slice(offset));
|
|
15
15
|
if (!directive) return `${insertion}${code}`;
|
|
16
16
|
const insertionOffset = offset + directive[0].length;
|
|
17
17
|
return `${code.slice(0, insertionOffset)}${insertion}${code.slice(insertionOffset)}`;
|
|
18
18
|
}
|
|
19
19
|
function leadingTriviaLength(source) {
|
|
20
|
-
return
|
|
20
|
+
return LEADING_WHITESPACE_RE.exec(source)?.[0].length ?? LINE_COMMENT_RE.exec(source)?.[0].length ?? BLOCK_COMMENT_RE.exec(source)?.[0].length ?? 0;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const RUNTIME_IMPORT_CLAUSE_RE = /(?:import|export)\s+\{([^{}]*)\}\s*from\s*['"]@csszyx\/runtime['"]/g;
|
|
@@ -3,7 +3,7 @@ import * as fs from 'node:fs';
|
|
|
3
3
|
import { createHash, randomUUID } from 'node:crypto';
|
|
4
4
|
import { hostname } from 'node:os';
|
|
5
5
|
import lockfile from 'proper-lockfile';
|
|
6
|
-
import { s as sortStrings, e as escapeHtmlAttribute, r as renderTailwindScannerCandidates } from './unplugin.
|
|
6
|
+
import { s as sortStrings, e as escapeHtmlAttribute, r as renderTailwindScannerCandidates } from './unplugin.B3XoSRB8.mjs';
|
|
7
7
|
|
|
8
8
|
const DEFAULT_RENAME_RETRIES = 5;
|
|
9
9
|
const DEFAULT_RENAME_RETRY_DELAY_MS = 10;
|
|
@@ -353,6 +353,52 @@ function sleepSync(ms) {
|
|
|
353
353
|
Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms);
|
|
354
354
|
}
|
|
355
355
|
|
|
356
|
+
function createNextCacheIdentity(input) {
|
|
357
|
+
const configHash = hashString(stableStringify(input.config));
|
|
358
|
+
const envHash = hashString(stableStringify(pickEnv(input.env ?? {}, input.envKeys ?? [])));
|
|
359
|
+
const generation = hashString(
|
|
360
|
+
stableStringify({
|
|
361
|
+
root: input.root,
|
|
362
|
+
configHash,
|
|
363
|
+
envHash,
|
|
364
|
+
nextVersion: input.nextVersion,
|
|
365
|
+
csszyxVersion: input.csszyxVersion,
|
|
366
|
+
nativeVersion: input.nativeVersion,
|
|
367
|
+
mode: input.mode
|
|
368
|
+
})
|
|
369
|
+
);
|
|
370
|
+
return { configHash, envHash, generation };
|
|
371
|
+
}
|
|
372
|
+
function stableStringify(value) {
|
|
373
|
+
if (value === null || typeof value === "boolean" || typeof value === "string") {
|
|
374
|
+
return JSON.stringify(value);
|
|
375
|
+
}
|
|
376
|
+
if (typeof value === "number") {
|
|
377
|
+
return Number.isFinite(value) ? JSON.stringify(value) : "null";
|
|
378
|
+
}
|
|
379
|
+
if (Array.isArray(value)) {
|
|
380
|
+
return `[${value.map((item) => stableStringify(item)).join(",")}]`;
|
|
381
|
+
}
|
|
382
|
+
if (typeof value === "object") {
|
|
383
|
+
const entries = Object.entries(value).filter((entry) => entry[1] !== void 0).sort(([left], [right]) => left.localeCompare(right));
|
|
384
|
+
return `{${entries.map(([key, entryValue]) => `${JSON.stringify(key)}:${stableStringify(entryValue)}`).join(",")}}`;
|
|
385
|
+
}
|
|
386
|
+
return "null";
|
|
387
|
+
}
|
|
388
|
+
function pickEnv(env, envKeys) {
|
|
389
|
+
const selected = {};
|
|
390
|
+
for (const key of sortStrings(new Set(envKeys))) {
|
|
391
|
+
const value = env[key];
|
|
392
|
+
if (value !== void 0) {
|
|
393
|
+
selected[key] = value;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
return selected;
|
|
397
|
+
}
|
|
398
|
+
function hashString(value) {
|
|
399
|
+
return `sha256:${createHash("sha256").update(value).digest("hex")}`;
|
|
400
|
+
}
|
|
401
|
+
|
|
356
402
|
function resolveNextGenerationManifestPath(rootDir, cacheDir = ".csszyx/cache") {
|
|
357
403
|
return path.resolve(rootDir, cacheDir, "generation-manifest.json");
|
|
358
404
|
}
|
|
@@ -417,52 +463,6 @@ function normalizeManifest(manifest) {
|
|
|
417
463
|
};
|
|
418
464
|
}
|
|
419
465
|
|
|
420
|
-
function createNextCacheIdentity(input) {
|
|
421
|
-
const configHash = hashString(stableStringify(input.config));
|
|
422
|
-
const envHash = hashString(stableStringify(pickEnv(input.env ?? {}, input.envKeys ?? [])));
|
|
423
|
-
const generation = hashString(
|
|
424
|
-
stableStringify({
|
|
425
|
-
root: input.root,
|
|
426
|
-
configHash,
|
|
427
|
-
envHash,
|
|
428
|
-
nextVersion: input.nextVersion,
|
|
429
|
-
csszyxVersion: input.csszyxVersion,
|
|
430
|
-
nativeVersion: input.nativeVersion,
|
|
431
|
-
mode: input.mode
|
|
432
|
-
})
|
|
433
|
-
);
|
|
434
|
-
return { configHash, envHash, generation };
|
|
435
|
-
}
|
|
436
|
-
function stableStringify(value) {
|
|
437
|
-
if (value === null || typeof value === "boolean" || typeof value === "string") {
|
|
438
|
-
return JSON.stringify(value);
|
|
439
|
-
}
|
|
440
|
-
if (typeof value === "number") {
|
|
441
|
-
return Number.isFinite(value) ? JSON.stringify(value) : "null";
|
|
442
|
-
}
|
|
443
|
-
if (Array.isArray(value)) {
|
|
444
|
-
return `[${value.map((item) => stableStringify(item)).join(",")}]`;
|
|
445
|
-
}
|
|
446
|
-
if (typeof value === "object") {
|
|
447
|
-
const entries = Object.entries(value).filter((entry) => entry[1] !== void 0).sort(([left], [right]) => left.localeCompare(right));
|
|
448
|
-
return `{${entries.map(([key, entryValue]) => `${JSON.stringify(key)}:${stableStringify(entryValue)}`).join(",")}}`;
|
|
449
|
-
}
|
|
450
|
-
return "null";
|
|
451
|
-
}
|
|
452
|
-
function pickEnv(env, envKeys) {
|
|
453
|
-
const selected = {};
|
|
454
|
-
for (const key of sortStrings(new Set(envKeys))) {
|
|
455
|
-
const value = env[key];
|
|
456
|
-
if (value !== void 0) {
|
|
457
|
-
selected[key] = value;
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
return selected;
|
|
461
|
-
}
|
|
462
|
-
function hashString(value) {
|
|
463
|
-
return `sha256:${createHash("sha256").update(value).digest("hex")}`;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
466
|
function resolveNextAppRoot(input) {
|
|
467
467
|
if (input.explicitRoot) {
|
|
468
468
|
return { root: path.resolve(input.explicitRoot), source: "explicit" };
|
|
@@ -5,7 +5,7 @@ const fs = require('node:fs');
|
|
|
5
5
|
const node_crypto = require('node:crypto');
|
|
6
6
|
const node_os = require('node:os');
|
|
7
7
|
const lockfile = require('proper-lockfile');
|
|
8
|
-
const htmlEscape = require('./unplugin.
|
|
8
|
+
const htmlEscape = require('./unplugin.BkRah5Ot.cjs');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
|
|
11
11
|
|
|
@@ -373,6 +373,52 @@ function sleepSync(ms) {
|
|
|
373
373
|
Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms);
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
+
function createNextCacheIdentity(input) {
|
|
377
|
+
const configHash = hashString(stableStringify(input.config));
|
|
378
|
+
const envHash = hashString(stableStringify(pickEnv(input.env ?? {}, input.envKeys ?? [])));
|
|
379
|
+
const generation = hashString(
|
|
380
|
+
stableStringify({
|
|
381
|
+
root: input.root,
|
|
382
|
+
configHash,
|
|
383
|
+
envHash,
|
|
384
|
+
nextVersion: input.nextVersion,
|
|
385
|
+
csszyxVersion: input.csszyxVersion,
|
|
386
|
+
nativeVersion: input.nativeVersion,
|
|
387
|
+
mode: input.mode
|
|
388
|
+
})
|
|
389
|
+
);
|
|
390
|
+
return { configHash, envHash, generation };
|
|
391
|
+
}
|
|
392
|
+
function stableStringify(value) {
|
|
393
|
+
if (value === null || typeof value === "boolean" || typeof value === "string") {
|
|
394
|
+
return JSON.stringify(value);
|
|
395
|
+
}
|
|
396
|
+
if (typeof value === "number") {
|
|
397
|
+
return Number.isFinite(value) ? JSON.stringify(value) : "null";
|
|
398
|
+
}
|
|
399
|
+
if (Array.isArray(value)) {
|
|
400
|
+
return `[${value.map((item) => stableStringify(item)).join(",")}]`;
|
|
401
|
+
}
|
|
402
|
+
if (typeof value === "object") {
|
|
403
|
+
const entries = Object.entries(value).filter((entry) => entry[1] !== void 0).sort(([left], [right]) => left.localeCompare(right));
|
|
404
|
+
return `{${entries.map(([key, entryValue]) => `${JSON.stringify(key)}:${stableStringify(entryValue)}`).join(",")}}`;
|
|
405
|
+
}
|
|
406
|
+
return "null";
|
|
407
|
+
}
|
|
408
|
+
function pickEnv(env, envKeys) {
|
|
409
|
+
const selected = {};
|
|
410
|
+
for (const key of htmlEscape.sortStrings(new Set(envKeys))) {
|
|
411
|
+
const value = env[key];
|
|
412
|
+
if (value !== void 0) {
|
|
413
|
+
selected[key] = value;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
return selected;
|
|
417
|
+
}
|
|
418
|
+
function hashString(value) {
|
|
419
|
+
return `sha256:${node_crypto.createHash("sha256").update(value).digest("hex")}`;
|
|
420
|
+
}
|
|
421
|
+
|
|
376
422
|
function resolveNextGenerationManifestPath(rootDir, cacheDir = ".csszyx/cache") {
|
|
377
423
|
return path__namespace.resolve(rootDir, cacheDir, "generation-manifest.json");
|
|
378
424
|
}
|
|
@@ -437,52 +483,6 @@ function normalizeManifest(manifest) {
|
|
|
437
483
|
};
|
|
438
484
|
}
|
|
439
485
|
|
|
440
|
-
function createNextCacheIdentity(input) {
|
|
441
|
-
const configHash = hashString(stableStringify(input.config));
|
|
442
|
-
const envHash = hashString(stableStringify(pickEnv(input.env ?? {}, input.envKeys ?? [])));
|
|
443
|
-
const generation = hashString(
|
|
444
|
-
stableStringify({
|
|
445
|
-
root: input.root,
|
|
446
|
-
configHash,
|
|
447
|
-
envHash,
|
|
448
|
-
nextVersion: input.nextVersion,
|
|
449
|
-
csszyxVersion: input.csszyxVersion,
|
|
450
|
-
nativeVersion: input.nativeVersion,
|
|
451
|
-
mode: input.mode
|
|
452
|
-
})
|
|
453
|
-
);
|
|
454
|
-
return { configHash, envHash, generation };
|
|
455
|
-
}
|
|
456
|
-
function stableStringify(value) {
|
|
457
|
-
if (value === null || typeof value === "boolean" || typeof value === "string") {
|
|
458
|
-
return JSON.stringify(value);
|
|
459
|
-
}
|
|
460
|
-
if (typeof value === "number") {
|
|
461
|
-
return Number.isFinite(value) ? JSON.stringify(value) : "null";
|
|
462
|
-
}
|
|
463
|
-
if (Array.isArray(value)) {
|
|
464
|
-
return `[${value.map((item) => stableStringify(item)).join(",")}]`;
|
|
465
|
-
}
|
|
466
|
-
if (typeof value === "object") {
|
|
467
|
-
const entries = Object.entries(value).filter((entry) => entry[1] !== void 0).sort(([left], [right]) => left.localeCompare(right));
|
|
468
|
-
return `{${entries.map(([key, entryValue]) => `${JSON.stringify(key)}:${stableStringify(entryValue)}`).join(",")}}`;
|
|
469
|
-
}
|
|
470
|
-
return "null";
|
|
471
|
-
}
|
|
472
|
-
function pickEnv(env, envKeys) {
|
|
473
|
-
const selected = {};
|
|
474
|
-
for (const key of htmlEscape.sortStrings(new Set(envKeys))) {
|
|
475
|
-
const value = env[key];
|
|
476
|
-
if (value !== void 0) {
|
|
477
|
-
selected[key] = value;
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
return selected;
|
|
481
|
-
}
|
|
482
|
-
function hashString(value) {
|
|
483
|
-
return `sha256:${node_crypto.createHash("sha256").update(value).digest("hex")}`;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
486
|
function resolveNextAppRoot(input) {
|
|
487
487
|
if (input.explicitRoot) {
|
|
488
488
|
return { root: path__namespace.resolve(input.explicitRoot), source: "explicit" };
|
|
@@ -9,13 +9,13 @@ function insertAfterUseDirective(code, insertion) {
|
|
|
9
9
|
if (triviaLength === 0) break;
|
|
10
10
|
offset += triviaLength;
|
|
11
11
|
}
|
|
12
|
-
const directive = code.slice(offset)
|
|
12
|
+
const directive = USE_DIRECTIVE_RE.exec(code.slice(offset));
|
|
13
13
|
if (!directive) return `${insertion}${code}`;
|
|
14
14
|
const insertionOffset = offset + directive[0].length;
|
|
15
15
|
return `${code.slice(0, insertionOffset)}${insertion}${code.slice(insertionOffset)}`;
|
|
16
16
|
}
|
|
17
17
|
function leadingTriviaLength(source) {
|
|
18
|
-
return
|
|
18
|
+
return LEADING_WHITESPACE_RE.exec(source)?.[0].length ?? LINE_COMMENT_RE.exec(source)?.[0].length ?? BLOCK_COMMENT_RE.exec(source)?.[0].length ?? 0;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
const RUNTIME_IMPORT_CLAUSE_RE = /(?:import|export)\s+\{([^{}]*)\}\s*from\s*['"]@csszyx\/runtime['"]/g;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { OxcNotImplementedError } from '@csszyx/compiler';
|
|
1
2
|
import { createHash, randomUUID } from 'node:crypto';
|
|
2
3
|
import * as fs from 'node:fs';
|
|
3
4
|
import * as path from 'node:path';
|
|
@@ -7,6 +8,13 @@ function normalizePathSeparators(value) {
|
|
|
7
8
|
return value.split(WINDOWS_PATH_SEPARATOR).join("/");
|
|
8
9
|
}
|
|
9
10
|
|
|
11
|
+
function babelFallbackReason(error) {
|
|
12
|
+
if (error instanceof OxcNotImplementedError) {
|
|
13
|
+
return error.detail;
|
|
14
|
+
}
|
|
15
|
+
return error instanceof Error ? error.message : String(error);
|
|
16
|
+
}
|
|
17
|
+
|
|
10
18
|
const CACHE_SCHEMA_VERSION = 10;
|
|
11
19
|
function resolveTransformCacheDir(rootDir, cacheDir) {
|
|
12
20
|
return path.resolve(rootDir, cacheDir ?? ".csszyx/cache", "transform");
|
|
@@ -206,4 +214,4 @@ function evictMemoryCacheToBudget(cache, totalCodeChars, maxEntries, maxCodeChar
|
|
|
206
214
|
return total;
|
|
207
215
|
}
|
|
208
216
|
|
|
209
|
-
export { readTransformCache as a,
|
|
217
|
+
export { readTransformCache as a, babelFallbackReason as b, createTransformCacheKey as c, evictMemoryCacheToBudget as d, evictOldTransformCacheEntries as e, normalizePathSeparators as n, resolveTransformCacheDir as r, writeTransformCache as w };
|
package/dist/vite.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const unplugin = require('./shared/unplugin.
|
|
5
|
+
const unplugin = require('./shared/unplugin.CRuVOB4Q.cjs');
|
|
6
6
|
require('node:crypto');
|
|
7
7
|
require('node:fs');
|
|
8
8
|
require('node:module');
|
|
@@ -16,12 +16,12 @@ require('@csszyx/svelte-adapter');
|
|
|
16
16
|
require('@csszyx/types');
|
|
17
17
|
require('@csszyx/vue-adapter');
|
|
18
18
|
require('unplugin');
|
|
19
|
+
require('./shared/unplugin.CKIOVNOg.cjs');
|
|
19
20
|
require('./css-mangler.cjs');
|
|
20
21
|
require('postcss');
|
|
21
22
|
require('postcss-selector-parser');
|
|
22
|
-
require('./shared/unplugin.
|
|
23
|
-
require('./shared/unplugin.
|
|
24
|
-
require('./shared/unplugin.CcA7jP1r.cjs');
|
|
23
|
+
require('./shared/unplugin.Cnxm1DcC.cjs');
|
|
24
|
+
require('./shared/unplugin.BkRah5Ot.cjs');
|
|
25
25
|
require('postcss-value-parser');
|
|
26
26
|
|
|
27
27
|
|
package/dist/vite.d.cts
CHANGED
package/dist/vite.d.mts
CHANGED
package/dist/vite.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { $ as default } from './shared/unplugin.
|
|
1
|
+
export { $ as default } from './shared/unplugin.CVMbUfH5.mjs';
|
|
2
2
|
import 'node:crypto';
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'node:module';
|
|
@@ -12,10 +12,10 @@ import '@csszyx/svelte-adapter';
|
|
|
12
12
|
import '@csszyx/types';
|
|
13
13
|
import '@csszyx/vue-adapter';
|
|
14
14
|
import 'unplugin';
|
|
15
|
+
import './shared/unplugin.fOnGXWgS.mjs';
|
|
15
16
|
import './css-mangler.mjs';
|
|
16
17
|
import 'postcss';
|
|
17
18
|
import 'postcss-selector-parser';
|
|
18
|
-
import './shared/unplugin.
|
|
19
|
-
import './shared/unplugin.
|
|
20
|
-
import './shared/unplugin.TtmP77BS.mjs';
|
|
19
|
+
import './shared/unplugin.Lhzkcj-A.mjs';
|
|
20
|
+
import './shared/unplugin.B3XoSRB8.mjs';
|
|
21
21
|
import 'postcss-value-parser';
|
package/dist/webpack.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const unplugin = require('./shared/unplugin.
|
|
5
|
+
const unplugin = require('./shared/unplugin.CRuVOB4Q.cjs');
|
|
6
6
|
require('node:crypto');
|
|
7
7
|
require('node:fs');
|
|
8
8
|
require('node:module');
|
|
@@ -16,12 +16,12 @@ require('@csszyx/svelte-adapter');
|
|
|
16
16
|
require('@csszyx/types');
|
|
17
17
|
require('@csszyx/vue-adapter');
|
|
18
18
|
require('unplugin');
|
|
19
|
+
require('./shared/unplugin.CKIOVNOg.cjs');
|
|
19
20
|
require('./css-mangler.cjs');
|
|
20
21
|
require('postcss');
|
|
21
22
|
require('postcss-selector-parser');
|
|
22
|
-
require('./shared/unplugin.
|
|
23
|
-
require('./shared/unplugin.
|
|
24
|
-
require('./shared/unplugin.CcA7jP1r.cjs');
|
|
23
|
+
require('./shared/unplugin.Cnxm1DcC.cjs');
|
|
24
|
+
require('./shared/unplugin.BkRah5Ot.cjs');
|
|
25
25
|
require('postcss-value-parser');
|
|
26
26
|
|
|
27
27
|
|
package/dist/webpack.d.cts
CHANGED
package/dist/webpack.d.mts
CHANGED
package/dist/webpack.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a0 as default } from './shared/unplugin.
|
|
1
|
+
export { a0 as default } from './shared/unplugin.CVMbUfH5.mjs';
|
|
2
2
|
import 'node:crypto';
|
|
3
3
|
import 'node:fs';
|
|
4
4
|
import 'node:module';
|
|
@@ -12,10 +12,10 @@ import '@csszyx/svelte-adapter';
|
|
|
12
12
|
import '@csszyx/types';
|
|
13
13
|
import '@csszyx/vue-adapter';
|
|
14
14
|
import 'unplugin';
|
|
15
|
+
import './shared/unplugin.fOnGXWgS.mjs';
|
|
15
16
|
import './css-mangler.mjs';
|
|
16
17
|
import 'postcss';
|
|
17
18
|
import 'postcss-selector-parser';
|
|
18
|
-
import './shared/unplugin.
|
|
19
|
-
import './shared/unplugin.
|
|
20
|
-
import './shared/unplugin.TtmP77BS.mjs';
|
|
19
|
+
import './shared/unplugin.Lhzkcj-A.mjs';
|
|
20
|
+
import './shared/unplugin.B3XoSRB8.mjs';
|
|
21
21
|
import 'postcss-value-parser';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@csszyx/unplugin",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.10",
|
|
4
4
|
"description": "Vite and Webpack integration for csszyx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"csszyx",
|
|
@@ -112,35 +112,35 @@
|
|
|
112
112
|
"dist"
|
|
113
113
|
],
|
|
114
114
|
"dependencies": {
|
|
115
|
-
"postcss": "^8.
|
|
116
|
-
"postcss-selector-parser": "^
|
|
115
|
+
"postcss": "^8.5.19",
|
|
116
|
+
"postcss-selector-parser": "^7.1.4",
|
|
117
117
|
"postcss-value-parser": "^4.2.0",
|
|
118
118
|
"proper-lockfile": "^4.1.2",
|
|
119
|
-
"unplugin": "^
|
|
120
|
-
"@csszyx/
|
|
121
|
-
"@csszyx/
|
|
122
|
-
"@csszyx/vue-adapter": "0.11.
|
|
123
|
-
"@csszyx/
|
|
124
|
-
"@csszyx/
|
|
119
|
+
"unplugin": "^3.3.0",
|
|
120
|
+
"@csszyx/compiler": "0.11.10",
|
|
121
|
+
"@csszyx/core": "0.11.10",
|
|
122
|
+
"@csszyx/vue-adapter": "0.11.10",
|
|
123
|
+
"@csszyx/svelte-adapter": "0.11.10",
|
|
124
|
+
"@csszyx/types": "0.11.10"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
|
-
"@csszyx/runtime": "^0.11.
|
|
127
|
+
"@csszyx/runtime": "^0.11.10"
|
|
128
128
|
},
|
|
129
129
|
"devDependencies": {
|
|
130
|
-
"@tailwindcss/node": "4.3.
|
|
131
|
-
"@types/node": "^20.
|
|
130
|
+
"@tailwindcss/node": "4.3.3",
|
|
131
|
+
"@types/node": "^22.20.1",
|
|
132
132
|
"@types/proper-lockfile": "^4.1.4",
|
|
133
133
|
"esbuild": "^0.28.1",
|
|
134
|
-
"rollup": "^4.
|
|
134
|
+
"rollup": "^4.62.2",
|
|
135
135
|
"typescript": "^6.0.3",
|
|
136
136
|
"unbuild": "^3.6.1",
|
|
137
|
-
"vite": "^8.
|
|
138
|
-
"vitest": "^4.1.
|
|
139
|
-
"webpack": "^5.
|
|
137
|
+
"vite": "^8.1.5",
|
|
138
|
+
"vitest": "^4.1.10",
|
|
139
|
+
"webpack": "^5.108.4"
|
|
140
140
|
},
|
|
141
141
|
"sideEffects": false,
|
|
142
142
|
"engines": {
|
|
143
|
-
"node": "
|
|
143
|
+
"node": "^22.18.0 || >=24.11.0"
|
|
144
144
|
},
|
|
145
145
|
"scripts": {
|
|
146
146
|
"build": "unbuild",
|