Skip to main content

ImportExportOptions

ImportExportOptions​

Options related to importing & exporting data.

Signature
interface ImportExportOptions {
importAssetsDir?: string;
assetImportStrategy?: AssetImportStrategy;
}

importAssetsDir​

property
string
default:
__dirname

The directory in which assets to be imported are located.

assetImportStrategy​

property
v1.7.0

This strategy determines how asset files get imported based on the path given in the import CSV or via the AssetImporter getAssets() method.