Cordova Slack Digest

Tue, 06 Jul 2021 08:21:36 GMT

User count: 4543

Join the conversation at slack.cordova.io

Channel #general (12 messages)


Mon, 05 Jul 2021 14:37:49 GMT

@jakob.pfab says

hi, i generated a gulpfile to minify and bundle all my js/css/html files.

How can I make cordova build use the new folder www_bundle instead of the old www ?

Mon, 05 Jul 2021 14:39:36 GMT

@norman137 says

Not supported in all platforms, I would instead move your source files outside of the www folder into something like src/ for example, and have your generated bundle file deployed into www/

Mon, 05 Jul 2021 14:43:24 GMT

@jakob.pfab says

sounds like a solution

Mon, 05 Jul 2021 14:43:31 GMT

@jakob.pfab says

will need do change my dev setup a bit

Mon, 05 Jul 2021 14:43:54 GMT

@jakob.pfab says

thanks

Mon, 05 Jul 2021 14:44:23 GMT

@jakob.pfab says

is it possible without moving the source files outside for ios, android and browser platform?

Mon, 05 Jul 2021 14:45:37 GMT

@norman137 says

i think only ios has a preference to change the www folder

Mon, 05 Jul 2021 14:46:02 GMT

@norman137 says

android I'm like 99% sure it does not, and browser I have no ide.a

Mon, 05 Jul 2021 14:46:24 GMT

@jakob.pfab says

ok got it, thank you 👍

Mon, 05 Jul 2021 14:47:14 GMT

@norman137 says

I have a similar setup with webpack though, the the src files located outside, and a build script that builds the files and outputs into www or a sub directory inside of it.

Mon, 05 Jul 2021 14:47:23 GMT

@norman137 says

works good for ios / android

Mon, 05 Jul 2021 14:55:50 GMT

@thijs793 says

Hi! I'm having trouble with the --illegal-access=permit issue and I was wondering if someone has figured out what could be causing it 🙂

Channel #cordova-android (2 messages)


Mon, 05 Jul 2021 12:56:18 GMT

@norman137 says

Really have no idea, would probably be a good research / blog topic

Tue, 06 Jul 2021 08:13:44 GMT

@jcesarmobile says

You should be able to install them, but there is no guarantee they will work the same way they do on a real device, I guess they will patch compatibility problems as they appear