@pandacss/node 0.0.0-dev-20221218210650 → 0.0.0-dev-20221219112004

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
@@ -1585,7 +1585,13 @@ async function emitAndExtract(ctx) {
1585
1585
  await bundleChunks(ctx);
1586
1586
  }
1587
1587
  function getBaseCss(ctx) {
1588
- const css2 = [generateReset(), generateTokenCss(ctx), generateKeyframes(ctx.keyframes), ctx.getGlobalCss()];
1588
+ const css2 = [
1589
+ generateReset(),
1590
+ generateTokenCss(ctx),
1591
+ generateKeyframes(ctx.keyframes),
1592
+ ctx.getGlobalCss(),
1593
+ ctx.getStaticCss()
1594
+ ];
1589
1595
  return css2.filter(Boolean).join("\n\n");
1590
1596
  }
1591
1597
 
@@ -1818,6 +1824,8 @@ function createContext(conf, io = fileSystem) {
1818
1824
  glob: [`${paths.chunk}/**/*.css`]
1819
1825
  };
1820
1826
  function getFiles() {
1827
+ if (!config.include)
1828
+ return [];
1821
1829
  return import_fast_glob.default.sync(config.include, { cwd, ignore: config.exclude, absolute: true });
1822
1830
  }
1823
1831
  const files = getFiles();
package/dist/index.mjs CHANGED
@@ -1539,7 +1539,13 @@ async function emitAndExtract(ctx) {
1539
1539
  await bundleChunks(ctx);
1540
1540
  }
1541
1541
  function getBaseCss(ctx) {
1542
- const css2 = [generateReset(), generateTokenCss(ctx), generateKeyframes(ctx.keyframes), ctx.getGlobalCss()];
1542
+ const css2 = [
1543
+ generateReset(),
1544
+ generateTokenCss(ctx),
1545
+ generateKeyframes(ctx.keyframes),
1546
+ ctx.getGlobalCss(),
1547
+ ctx.getStaticCss()
1548
+ ];
1543
1549
  return css2.filter(Boolean).join("\n\n");
1544
1550
  }
1545
1551
 
@@ -1779,6 +1785,8 @@ function createContext(conf, io = fileSystem) {
1779
1785
  glob: [`${paths.chunk}/**/*.css`]
1780
1786
  };
1781
1787
  function getFiles() {
1788
+ if (!config.include)
1789
+ return [];
1782
1790
  return glob.sync(config.include, { cwd, ignore: config.exclude, absolute: true });
1783
1791
  }
1784
1792
  const files = getFiles();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/node",
3
- "version": "0.0.0-dev-20221218210650",
3
+ "version": "0.0.0-dev-20221219112004",
4
4
  "description": "The core css panda library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -30,15 +30,15 @@
30
30
  "telejson": "7.0.4",
31
31
  "ts-pattern": "4.0.6",
32
32
  "ts-morph": "17.0.1",
33
- "@pandacss/types": "0.0.0-dev-20221218210650",
34
- "@pandacss/is-valid-prop": "0.0.0-dev-20221218210650",
35
- "@pandacss/error": "0.0.0-dev-20221218210650",
36
- "@pandacss/parser": "0.0.0-dev-20221218210650",
37
- "@pandacss/shared": "0.0.0-dev-20221218210650",
38
- "@pandacss/token-dictionary": "0.0.0-dev-20221218210650",
39
- "@pandacss/logger": "0.0.0-dev-20221218210650",
40
- "@pandacss/core": "0.0.0-dev-20221218210650",
41
- "@pandacss/config": "0.0.0-dev-20221218210650"
33
+ "@pandacss/types": "0.0.0-dev-20221219112004",
34
+ "@pandacss/is-valid-prop": "0.0.0-dev-20221219112004",
35
+ "@pandacss/error": "0.0.0-dev-20221219112004",
36
+ "@pandacss/parser": "0.0.0-dev-20221219112004",
37
+ "@pandacss/shared": "0.0.0-dev-20221219112004",
38
+ "@pandacss/token-dictionary": "0.0.0-dev-20221219112004",
39
+ "@pandacss/logger": "0.0.0-dev-20221219112004",
40
+ "@pandacss/core": "0.0.0-dev-20221219112004",
41
+ "@pandacss/config": "0.0.0-dev-20221219112004"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/fs-extra": "9.0.13",
@@ -46,7 +46,7 @@
46
46
  "@types/glob-parent": "^5.1.1",
47
47
  "@types/pluralize": "0.0.29",
48
48
  "@types/lodash.merge": "4.6.7",
49
- "@pandacss/fixture": "0.0.0-dev-20221218210650"
49
+ "@pandacss/fixture": "0.0.0-dev-20221219112004"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsup src/index.ts --format=cjs,esm --shims --dts",