Skip to content

897f309: fix: ic-asset::sync() accepts multiple source directories (#355)

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jun 20:10
· 211 commits to main since this release
897f309
* This is a breaking change

fix: ic-asset::sync() accepts multiple source directories

It also now skips filenames and directories that begin with "." (as dfx does),
and reports an error if more than one asset resolves to the same key.

This is to account for asset source directories that may in the future contain
a configuration file .ic-asset.json.  More than one source directory may contain
such a file, but its configuration should only apply to the assets in the
corresponding directory.