Browse Source

fix(build,ts) clean before building

This makes sure we don't leave stray files behind if source JS files are removed.
dev1
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
     "webpack-cli": "4.9.0"
60
     "webpack-cli": "4.9.0"
61
   },
61
   },
62
   "scripts": {
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
     "lint": "eslint .",
64
     "lint": "eslint .",
65
     "lint-fix": "eslint . --fix",
65
     "lint-fix": "eslint . --fix",
66
     "prepack": "npm run build",
66
     "prepack": "npm run build",

Loading…
Cancel
Save