diff --git a/packages/cli/src/cli/config/action.import.ts b/packages/cli/src/cli/config/action.import.ts index 85a746a21..ed509a764 100644 --- a/packages/cli/src/cli/config/action.import.ts +++ b/packages/cli/src/cli/config/action.import.ts @@ -77,6 +77,8 @@ export class CommandImport extends CommandLineAction { logger.info({ config: this.target.value }, 'Import:Target:Load'); const configJson = await fsa.readJson(this.target.value); const mem = ConfigProviderMemory.fromJson(configJson); + mem.createVirtualTileSets(); + setDefaultConfig(mem); return mem; } @@ -107,6 +109,7 @@ export class CommandImport extends CommandLineAction { logger.info({ config }, 'Import:Load'); const configJson = await fsa.readJson(config); const mem = ConfigProviderMemory.fromJson(configJson); + mem.createVirtualTileSets(); logger.info({ config }, 'Import:Start'); const objectTypes: Partial> = {};