@athenna/tsconfig 4.8.1 → 4.8.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.
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/build.js +6 -5
package/package-lock.json
CHANGED
package/package.json
CHANGED
package/src/build.js
CHANGED
|
@@ -17,11 +17,6 @@ import { rimraf } from 'rimraf'
|
|
|
17
17
|
*/
|
|
18
18
|
rimraf('build')
|
|
19
19
|
|
|
20
|
-
/**
|
|
21
|
-
* Run tsc compiler.
|
|
22
|
-
*/
|
|
23
|
-
await tsc()
|
|
24
|
-
|
|
25
20
|
/**
|
|
26
21
|
* Copy default files to build folder.
|
|
27
22
|
*/
|
|
@@ -35,4 +30,10 @@ copyfiles([
|
|
|
35
30
|
'build'
|
|
36
31
|
], '', (err) => {
|
|
37
32
|
if (err) throw err
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Run tsc compiler after copyfiles because
|
|
36
|
+
* `tsc` exits the process after compile.
|
|
37
|
+
*/
|
|
38
|
+
tsc()
|
|
38
39
|
})
|