メインコンテンツまでスキップ
バージョン: v5

ionic capacitor copy

Copy web assets to native platforms

ionic capacitor copy [options]

ionic capacitor copy will do the following:

  • Perform an Ionic build, which compiles web assets
  • Copy web assets to Capacitor native platform(s)

Inputs

platform

Description

The platform to copy (e.g. android, ios, electron)

Options

--no-build

Description

Do not invoke an Ionic build

--prod

Description

Flag to use the production configuration

Advanced Options

--configuration =<conf>

Description

Specify the configuration to use.

Aliases-c

--source-map

Description

Output source maps

--watch

Description

Rebuild when files change