Add `syncImports` to the properties that are copied from env

Without this, the syncImports option does not work correctly.
Merge branch 'fix-sync-imports'