@plumeria/compiler 6.3.0 → 6.3.2

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -196,7 +196,7 @@ function compileCSS(options) {
196
196
  if (obj) {
197
197
  localCreateStyles[node.id.value] = { type: 'create', obj };
198
198
  Object.entries(obj).forEach(([key, style]) => {
199
- const records = (0, utils_1.getStyleRecords)(key, style, 1);
199
+ const records = (0, utils_1.getStyleRecords)(key, style);
200
200
  (0, utils_1.extractOndemandStyles)(style, extractedSheets, scannedTables);
201
201
  records.forEach((r) => {
202
202
  extractedSheets.push(r.sheet);
@@ -310,7 +310,7 @@ function compileCSS(options) {
310
310
  const processStyle = (style) => {
311
311
  (0, utils_1.extractOndemandStyles)(style, extractedSheets, scannedTables);
312
312
  const hash = (0, zss_engine_1.genBase36Hash)(style, 1, 8);
313
- const records = (0, utils_1.getStyleRecords)(hash, style, 1);
313
+ const records = (0, utils_1.getStyleRecords)(hash, style);
314
314
  records.forEach((r) => extractedSheets.push(r.sheet));
315
315
  };
316
316
  if (propName === 'props') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/compiler",
3
- "version": "6.3.0",
3
+ "version": "6.3.2",
4
4
  "description": "Plumeria swc based compiler for statically extracting css",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@
21
21
  "dist/"
22
22
  ],
23
23
  "dependencies": {
24
- "@plumeria/utils": "^6.3.0"
24
+ "@plumeria/utils": "^6.3.2"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@swc/core": "1.15.8",