@bamboocss/vite 1.41.0 → 1.42.0
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 -2
- package/dist/index.mjs +4 -2
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -377,7 +377,8 @@ const bamboocssCss = (options) => {
|
|
|
377
377
|
const build = async () => {
|
|
378
378
|
await builder.setup({
|
|
379
379
|
configPath,
|
|
380
|
-
cwd
|
|
380
|
+
cwd,
|
|
381
|
+
dev: command === "serve"
|
|
381
382
|
});
|
|
382
383
|
await builder.emit();
|
|
383
384
|
builder.extract();
|
|
@@ -3342,7 +3343,8 @@ const bamboocss = (options = {}) => {
|
|
|
3342
3343
|
const ensureContext = async () => {
|
|
3343
3344
|
if (!setup) setup = (0, _bamboocss_node.loadConfigAndCreateContext)({
|
|
3344
3345
|
configPath,
|
|
3345
|
-
cwd
|
|
3346
|
+
cwd,
|
|
3347
|
+
dev: command === "serve"
|
|
3346
3348
|
}).then((loaded) => {
|
|
3347
3349
|
ctx = loaded;
|
|
3348
3350
|
runtimeCss = createRuntimeCss(loaded);
|
package/dist/index.mjs
CHANGED
|
@@ -347,7 +347,8 @@ const bamboocssCss = (options) => {
|
|
|
347
347
|
const build = async () => {
|
|
348
348
|
await builder.setup({
|
|
349
349
|
configPath,
|
|
350
|
-
cwd
|
|
350
|
+
cwd,
|
|
351
|
+
dev: command === "serve"
|
|
351
352
|
});
|
|
352
353
|
await builder.emit();
|
|
353
354
|
builder.extract();
|
|
@@ -3312,7 +3313,8 @@ const bamboocss = (options = {}) => {
|
|
|
3312
3313
|
const ensureContext = async () => {
|
|
3313
3314
|
if (!setup) setup = loadConfigAndCreateContext({
|
|
3314
3315
|
configPath,
|
|
3315
|
-
cwd
|
|
3316
|
+
cwd,
|
|
3317
|
+
dev: command === "serve"
|
|
3316
3318
|
}).then((loaded) => {
|
|
3317
3319
|
ctx = loaded;
|
|
3318
3320
|
runtimeCss = createRuntimeCss(loaded);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bamboocss/vite",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.42.0",
|
|
4
4
|
"description": "Vite integration for Bamboo CSS",
|
|
5
5
|
"homepage": "https://bamboocss.com",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,18 +40,18 @@
|
|
|
40
40
|
"postcss": "8.5.26",
|
|
41
41
|
"postcss-selector-parser": "7.1.5",
|
|
42
42
|
"ts-morph": "28.0.0",
|
|
43
|
-
"@bamboocss/config": "1.
|
|
44
|
-
"@bamboocss/
|
|
45
|
-
"@bamboocss/
|
|
46
|
-
"@bamboocss/node": "1.
|
|
47
|
-
"@bamboocss/
|
|
48
|
-
"@bamboocss/shared": "1.
|
|
49
|
-
"@bamboocss/types": "1.
|
|
43
|
+
"@bamboocss/config": "1.42.0",
|
|
44
|
+
"@bamboocss/core": "1.42.0",
|
|
45
|
+
"@bamboocss/extractor": "1.42.0",
|
|
46
|
+
"@bamboocss/node": "1.42.0",
|
|
47
|
+
"@bamboocss/logger": "1.42.0",
|
|
48
|
+
"@bamboocss/shared": "1.42.0",
|
|
49
|
+
"@bamboocss/types": "1.42.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@jridgewell/trace-mapping": "^0.3.31",
|
|
53
53
|
"vite": "7.2.6",
|
|
54
|
-
"@bamboocss/fixture": "1.
|
|
54
|
+
"@bamboocss/fixture": "1.42.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"vite": ">=5"
|