@plumeria/compiler 0.7.7 → 0.8.1

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 +4 -4
  2. package/package.json +4 -1
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@ import * as path from 'path';
2
2
  import * as fs from 'fs';
3
3
  import ts from 'typescript';
4
4
  import fg from 'fast-glob';
5
- import { buildCreate } from '@plumeria/core/dist/method/create-build-helper';
6
- import { buildGlobal } from '@plumeria/core/dist/method/global-build-helper';
5
+ import { buildCreate } from 'zss-utils';
6
+ import { buildGlobal } from 'zss-utils';
7
7
  import { JIT } from 'rscute';
8
8
  const projectRoot = process.cwd().split('node_modules')[0];
9
9
  const directPath = path.join(projectRoot, 'node_modules/@plumeria/core');
@@ -50,9 +50,9 @@ async function getAppRoot() {
50
50
  await JIT(path.resolve(styleFiles[i]));
51
51
  }
52
52
  for (let i = 0; i < styleFiles.length; i++) {
53
- await buildGlobal();
53
+ await buildGlobal(coreFilePath);
54
54
  }
55
55
  for (let i = 0; i < styleFiles.length; i++) {
56
- await buildCreate();
56
+ await buildCreate(coreFilePath);
57
57
  }
58
58
  })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/compiler",
3
- "version": "0.7.7",
3
+ "version": "0.8.1",
4
4
  "description": "A faster compiler for Plumeria",
5
5
  "keywords": [
6
6
  "css",
@@ -25,6 +25,9 @@
25
25
  "fast-glob": "3.3.3",
26
26
  "rscute": "0.1.3"
27
27
  },
28
+ "devDependencies": {
29
+ "zss-utils": "0.0.8"
30
+ },
28
31
  "publishConfig": {
29
32
  "access": "public"
30
33
  }