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

fix: pwa icon generation and angular vue path #572

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

dtarnawsky
Copy link
Contributor

@dtarnawsky dtarnawsky commented Nov 20, 2023

FIxes WN-1459
When npx @capacitor/assets generate --pwa is run with an angular or vue project it looks in src/assets/assets folder but the default path for angular and vue assets is just src/assets.

This also replaces any icons in the manifest.webmanifest file (it would previously only change an icon if the filename existed already in the file.

Note: also reduced the linting errors

This should also fix #568 which is a side effect of not choosing the path correctly in an Angular or Vue project.
Also fixes #520 which is caused by it checking for icons by their filename rather than their size.

@dtarnawsky dtarnawsky merged commit 3c5ecbe into ionic-team:main Dec 12, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Specify output folder for PWA Bug - PWA Manifest existing files check failing
1 participant