Browse Source

fix(build,ts) clean before building

This makes sure we don't leave stray files behind if source JS files are removed.
release-8443
Gary Hunt 3 years ago
parent
commit
54ed06d9fa
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      package.json

+ 1
- 1
package.json View File

@@ -60,7 +60,7 @@
60 60
     "webpack-cli": "4.9.0"
61 61
   },
62 62
   "scripts": {
63
-    "build": "export LIB_JITSI_MEET_COMMIT_HASH=$(git rev-parse --short HEAD 2>/dev/null) && webpack && tsc",
63
+    "build": "export LIB_JITSI_MEET_COMMIT_HASH=$(git rev-parse --short HEAD 2>/dev/null) && webpack && tsc --build --clean && tsc",
64 64
     "lint": "eslint .",
65 65
     "lint-fix": "eslint . --fix",
66 66
     "prepack": "npm run build",

Loading…
Cancel
Save