mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-27 02:19:46 +08:00
[*] Make sure cloud deploy can access .babelrc
Summary: Now that .babelrc is in client-app, we need to make it an exception in the .dockerignore file. Additionally, this means that the client-app directory will exist during the postinstall script in the cloud environment, so we need a stricter check to figure out if the client-app needs to be built or not. Test Plan: deployed to staging Reviewers: evan, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D4008
This commit is contained in:
parent
c77c8becb9
commit
87aa1a86ad
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
arclib
|
||||
**/node_modules
|
||||
packages/client-*
|
||||
!packages/client-app/.babelrc
|
||||
|
||||
*.swp
|
||||
*~
|
||||
|
|
|
@ -82,7 +82,7 @@ async function npm(cmd, options) {
|
|||
}
|
||||
|
||||
async function electronRebuild() {
|
||||
if (!fs.existsSync(path.join("packages", "client-app"))) {
|
||||
if (!fs.existsSync(path.join("packages", "client-app", "apm"))) {
|
||||
console.log("\n---> No client app to rebuild. Moving on")
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue