fix(ios): validate resources/ and warn if assets/ shadows it
Point iOS asset checks at resources/ and document that a leftover assets/ directory makes @capacitor/assets ignore the canonical sources.
This commit is contained in:
@@ -56,7 +56,10 @@ npx capacitor-assets generate --web
|
||||
|
||||
## Configuration
|
||||
|
||||
Asset generation is configured in `capacitor-assets.config.json` at the project root.
|
||||
`resources/` is this project's canonical asset source. `@capacitor/assets`
|
||||
prioritizes a top-level `assets/` directory over `resources/`, so a legacy
|
||||
`assets/` directory can prevent these assets from being discovered. Remove that
|
||||
directory when it is empty or obsolete.
|
||||
|
||||
## Version Control
|
||||
|
||||
|
||||
Reference in New Issue
Block a user