@douyinfe/semi-scss-compile 2.22.0-alpha.0 → 2.22.0-beta.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.
package/README.md CHANGED
@@ -37,19 +37,19 @@ function resolve(dir) {
37
37
  //eg
38
38
 
39
39
  compile({
40
- foundationPath:resolve('semi-foundation/'),
41
- themePath:resolve('semi-theme-default/'),
40
+ foundationPath: resolve('semi-foundation/'),
41
+ themePath: resolve('semi-theme-default/'),
42
42
  iconPath: resolve('node_modules/@douyinfe/semi-icons'),
43
- outputPath:resolve('semi-ui/dist/css/semi.min.css'),
44
- isMin:true
43
+ outputPath: resolve('semi-ui/dist/css/semi.min.css'),
44
+ isMin: true
45
45
  });
46
46
 
47
47
  compile({
48
- foundationPath:resolve('semi-foundation/'),
49
- themePath:resolve('semi-theme-default/'),
48
+ foundationPath: resolve('semi-foundation/'),
49
+ themePath: resolve('semi-theme-default/'),
50
50
  iconPath: resolve('node_modules/@douyinfe/semi-icons'),
51
- outputPath:resolve('semi-ui/dist/css/semi.css'),
52
- isMin:false
51
+ outputPath: resolve('semi-ui/dist/css/semi.css'),
52
+ isMin: false
53
53
  });
54
54
  ```
55
55
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-scss-compile",
3
- "version": "2.22.0-alpha.0",
3
+ "version": "2.22.0-beta.1",
4
4
  "description": "compile semi scss to css",
5
5
  "author": "daiqiang@bytedance.com",
6
6
  "license": "MIT",
@@ -32,5 +32,5 @@
32
32
  "rimraf": "^3.0.2",
33
33
  "typescript": "^4.4.4"
34
34
  },
35
- "gitHead": "bb316f98269de321274b842e2b6b9b463bca1c53"
35
+ "gitHead": "9a2f03bc364267912d063baf07625a6de40f50e8"
36
36
  }
package/src/index.ts CHANGED
@@ -6,11 +6,11 @@ import fs from 'fs-extra';
6
6
 
7
7
 
8
8
  export interface Options {
9
- foundationPath: string,
10
- themePath: string,
11
- iconPath: string,
12
- outputPath: string
13
- isMin?: boolean,
9
+ foundationPath: string;
10
+ themePath: string;
11
+ iconPath: string;
12
+ outputPath: string;
13
+ isMin?: boolean
14
14
  }
15
15
 
16
16
  const compile = ({ foundationPath, themePath, iconPath, outputPath, isMin = false }: Options) => {