@pandacss/node 0.0.0-dev-20241206205627 → 0.0.0-dev-20241207111535

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.js CHANGED
@@ -873,8 +873,12 @@ var import_logger2 = require("@pandacss/logger");
873
873
  async function buildInfo(ctx, outfile) {
874
874
  const { filesWithCss, files } = ctx.parseFiles();
875
875
  import_logger2.logger.info("cli", `Found ${import_logger2.colors.bold(`${filesWithCss.length}/${files.length}`)} files using Panda`);
876
- const minify = ctx.config.minify;
876
+ const { minify, staticCss } = ctx.config;
877
877
  import_logger2.logger.info("cli", `Writing ${minify ? "[min] " : " "}${import_logger2.colors.bold(outfile)}`);
878
+ if (staticCss) {
879
+ import_logger2.logger.info("cli", "Adding staticCss definitions...");
880
+ ctx.staticCss.process(staticCss);
881
+ }
878
882
  const output = JSON.stringify(ctx.encoder.toJSON(), null, minify ? 0 : 2);
879
883
  ctx.output.ensure(outfile, process.cwd());
880
884
  await ctx.runtime.fs.writeFile(outfile, output);
package/dist/index.mjs CHANGED
@@ -847,8 +847,12 @@ import { colors, logger as logger2 } from "@pandacss/logger";
847
847
  async function buildInfo(ctx, outfile) {
848
848
  const { filesWithCss, files } = ctx.parseFiles();
849
849
  logger2.info("cli", `Found ${colors.bold(`${filesWithCss.length}/${files.length}`)} files using Panda`);
850
- const minify = ctx.config.minify;
850
+ const { minify, staticCss } = ctx.config;
851
851
  logger2.info("cli", `Writing ${minify ? "[min] " : " "}${colors.bold(outfile)}`);
852
+ if (staticCss) {
853
+ logger2.info("cli", "Adding staticCss definitions...");
854
+ ctx.staticCss.process(staticCss);
855
+ }
852
856
  const output = JSON.stringify(ctx.encoder.toJSON(), null, minify ? 0 : 2);
853
857
  ctx.output.ensure(outfile, process.cwd());
854
858
  await ctx.runtime.fs.writeFile(outfile, output);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20241206205627",
3
+ "version": "0.0.0-dev-20241207111535",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -52,15 +52,15 @@
52
52
  "ts-morph": "21.0.1",
53
53
  "ts-pattern": "5.0.8",
54
54
  "tsconfck": "3.0.2",
55
- "@pandacss/config": "0.0.0-dev-20241206205627",
56
- "@pandacss/core": "0.0.0-dev-20241206205627",
57
- "@pandacss/extractor": "0.0.0-dev-20241206205627",
58
- "@pandacss/generator": "0.0.0-dev-20241206205627",
59
- "@pandacss/logger": "0.0.0-dev-20241206205627",
60
- "@pandacss/parser": "0.0.0-dev-20241206205627",
61
- "@pandacss/shared": "0.0.0-dev-20241206205627",
62
- "@pandacss/token-dictionary": "0.0.0-dev-20241206205627",
63
- "@pandacss/types": "0.0.0-dev-20241206205627"
55
+ "@pandacss/config": "0.0.0-dev-20241207111535",
56
+ "@pandacss/core": "0.0.0-dev-20241207111535",
57
+ "@pandacss/extractor": "0.0.0-dev-20241207111535",
58
+ "@pandacss/generator": "0.0.0-dev-20241207111535",
59
+ "@pandacss/logger": "0.0.0-dev-20241207111535",
60
+ "@pandacss/parser": "0.0.0-dev-20241207111535",
61
+ "@pandacss/token-dictionary": "0.0.0-dev-20241207111535",
62
+ "@pandacss/shared": "0.0.0-dev-20241207111535",
63
+ "@pandacss/types": "0.0.0-dev-20241207111535"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@types/fs-extra": "11.0.4",