You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2020. It is now read-only.
We have our app available on 3 platforms - Android, iOS and for web (browser).
The problem is that the generated main.js file and some of the images and the fonts appear to be broken after the build, but only for the browser platform, which is very strange.
ionic build android --release --prod - works
ionic build ios --release --prod - works
ionic build browser --release --prod - does not work, generates broken main.js file and some of the images are 0kb in size
What I have tried so far:
Removed/Added browser platform
Checked I use latest ionic and app scripts
Made a build without the --release and --prod flags - this now does not break main.js file, but still generates 0 kb sized images. Strange thing is that some of the images are actually ok, but some of them are not.
I don't know why and what is the difference in the build process for the different platforms, in practicular the minifcation of js and copying the assets, but obviously something is wrong for the browser platform.
I would ask @danbucholtz for some ideas how to further debug in order to resolve this.
What behavior are you expecting?
Browser version to work just like Android and iOS
Which @ionic/app-scripts version are you using?
1.1.4
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
We have our app available on 3 platforms - Android, iOS and for web (browser).
The problem is that the generated main.js file and some of the images and the fonts appear to be broken after the build, but only for the browser platform, which is very strange.
ionic build android --release --prod
- worksionic build ios --release --prod
- worksionic build browser --release --prod
- does not work, generates broken main.js file and some of the images are 0kb in sizeWhat I have tried so far:
I don't know why and what is the difference in the build process for the different platforms, in practicular the minifcation of js and copying the assets, but obviously something is wrong for the browser platform.
I would ask @danbucholtz for some ideas how to further debug in order to resolve this.
What behavior are you expecting?
Browser version to work just like Android and iOS
Which @ionic/app-scripts version are you using?
1.1.4
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
The text was updated successfully, but these errors were encountered: