@d4h/capacitor-res

1.0.3 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @d4h/capacitor-res

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

9.74 kB

Total Files

5

Last publish

Collaborators

  • hannesvdvreken
  • bhalash