chaincss 2.1.5 → 2.1.6
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/plugins/vite.js +8 -2
- package/package.json +1 -1
- package/src/plugins/vite.ts +8 -2
package/dist/plugins/vite.js
CHANGED
|
@@ -3347,7 +3347,10 @@ function chaincssPlugin(options = {}) {
|
|
|
3347
3347
|
return `
|
|
3348
3348
|
// ChainCSS Runtime Bootstrap (No CSS Injection)
|
|
3349
3349
|
import manifest from "virtual:chaincss-manifest";
|
|
3350
|
-
|
|
3350
|
+
// Inline setManifest to avoid pulling in optional framework deps
|
|
3351
|
+
const setManifest = (manifest) => {
|
|
3352
|
+
window.__CHAINCSS_MANIFEST__ = manifest?.atomicMap || manifest?.atomicClasses || manifest || {};
|
|
3353
|
+
};
|
|
3351
3354
|
|
|
3352
3355
|
try {
|
|
3353
3356
|
setManifest(manifest);
|
|
@@ -3361,7 +3364,10 @@ function chaincssPlugin(options = {}) {
|
|
|
3361
3364
|
return `
|
|
3362
3365
|
// ChainCSS Runtime Bootstrap
|
|
3363
3366
|
import manifest from "virtual:chaincss-manifest";
|
|
3364
|
-
|
|
3367
|
+
// Inline setManifest to avoid pulling in optional framework deps
|
|
3368
|
+
const setManifest = (manifest) => {
|
|
3369
|
+
window.__CHAINCSS_MANIFEST__ = manifest?.atomicMap || manifest?.atomicClasses || manifest || {};
|
|
3370
|
+
};
|
|
3365
3371
|
|
|
3366
3372
|
// Initialize ChainCSS
|
|
3367
3373
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chaincss",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "ChainCSS v3.0 - The first CSS-in-JS library with true auto-detection mixed mode. Zero runtime by default, dynamic when you need it.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
package/src/plugins/vite.ts
CHANGED
|
@@ -155,7 +155,10 @@ export default function chaincssPlugin(options: ChainCSSPluginOptions = {}): Plu
|
|
|
155
155
|
return `
|
|
156
156
|
// ChainCSS Runtime Bootstrap (No CSS Injection)
|
|
157
157
|
import manifest from "virtual:chaincss-manifest";
|
|
158
|
-
|
|
158
|
+
// Inline setManifest to avoid pulling in optional framework deps
|
|
159
|
+
const setManifest = (manifest) => {
|
|
160
|
+
window.__CHAINCSS_MANIFEST__ = manifest?.atomicMap || manifest?.atomicClasses || manifest || {};
|
|
161
|
+
};
|
|
159
162
|
|
|
160
163
|
try {
|
|
161
164
|
setManifest(manifest);
|
|
@@ -175,7 +178,10 @@ export default function chaincssPlugin(options: ChainCSSPluginOptions = {}): Plu
|
|
|
175
178
|
return `
|
|
176
179
|
// ChainCSS Runtime Bootstrap
|
|
177
180
|
import manifest from "virtual:chaincss-manifest";
|
|
178
|
-
|
|
181
|
+
// Inline setManifest to avoid pulling in optional framework deps
|
|
182
|
+
const setManifest = (manifest) => {
|
|
183
|
+
window.__CHAINCSS_MANIFEST__ = manifest?.atomicMap || manifest?.atomicClasses || manifest || {};
|
|
184
|
+
};
|
|
179
185
|
|
|
180
186
|
// Initialize ChainCSS
|
|
181
187
|
try {
|