Skip to content

Copy cordova-res resources for a capacitor project.

License

Notifications You must be signed in to change notification settings

D4H/capacitor-res

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ionic Capacitor Resources Generator

Copy asset resources generated by cordiva-res into Android and iOS platform folders in a Capacitor project.

Install

npm install -g @d4h/capacitor-res

Description

This script derives from this gist from dalezak, which in turn comes from given in ionic-team/capacitor#229. The original script as given didn't work too well in the context of a monorepo project, as it expected platform and asset folders to lie at the project root.

Use

cd path/to/project/
cordova-res <platform>
capacitor-res <platform>

Related Links

License

Copyright (C) 2019 Dale Zak.

About

Copy cordova-res resources for a capacitor project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published