Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add --inline option to "npx cap copy" command to include JS source maps #5900

Closed
itziksha opened this issue Sep 7, 2022 · 1 comment · Fixed by #5901
Closed

feat: Add --inline option to "npx cap copy" command to include JS source maps #5900

itziksha opened this issue Sep 7, 2022 · 1 comment · Fixed by #5901

Comments

@itziksha
Copy link

itziksha commented Sep 7, 2022

Feature Request

Add --inline option to "npx cap copy" command, as was added to "npx cap sync --inline", in Capacitor 4.1.0

Description

In capacitor 4.1.0 there is a new option [--inline] which enables syncing of all JS source maps, allowing for debugging an Android Web View in Chromium based browsers.
This option was added only to 'sync' command which syncs both native plugins & web app files.

During Ionic development, the 'npx cap copy' command is being used more often, when updating the web app files only, but this command doesn't support (returns error 'error: unknown option '--inline'').

I suggest adding [--inline] option to copy command as well, since this is fast command that being used a lot for syncing web files and the --inline command is relevant to web files (JS source maps)

Thanks!

Platform(s)

Android & iOS

Preferred Solution

Adding [--inline] option to copy command as well: "npx cap copy --inline"

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 10, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants