Open jhoogeboom opened 5 years ago
I created a symlink (ln -s www public
) and checked it into version control, but I agree it would be nice if it looked in public
too. I created a ticket a Capacitor repo to have better compatibility with cordova plugins: https://github.com/ionic-team/capacitor/issues/1808
@biesbjerg where do you create the symlink?
@biesbjerg How exactly did you do the symlink?
It looks like the
www
folder is hardcoded, projects using capacitor can use Cordova plugins, but it ends up inassets/public
. This leads to the plugin not working because it can't find it. Would be cool to make this adjustable to that it can look into thepublic
folder and use the rest of theionic
/capacitor
toolchain to put themanifest.json
into the right place.As a workaround I now just copy the file into that
assets/www
folder as a custom build step in my npm scripts.