[v1] Change compilation output file "app.js" name
that was the output I got with firstname.lastname@example.org.
But with the latest version (@quasar/app v1.0.0-beta.18, Pkg quasar v1.0.0-beta.16) this is the compilation result:
(I’m using using cordova compilation mode)
Just upgraded to quasar v1.0.0-beta.23 and compiled js files does not have hash when compiling.
Why did it disappeared?
s.molinari last edited by s.molinari
I just ran the build for SPA and this is what I got.
Maybe I didn’t exlained myself correctly…
I’m not trying to create a SPA I’m trying to compile the app using cordova for browser, android and ios.
The command I need to execute is
quasar build -m cordova -T browser.
email@example.com app.js file located on src-cordova/platforms/browser/www/js contained had a hashed suffix.
Build mode........ cordova Pkg quasar........ v1.0.0-rc.4 Pkg @quasar/app... v1.0.0-rc.6
the resulting file name is app.js.
Sorry, in v1.0 there is no “browser” option for Cordova builds. There is only “android” and “ios”.
# Mobile App $ quasar dev -m cordova -T [android|ios]
Thanks for the fast response, though!
I’m not sure what you are trying to accomplish either. What is a cordova browser app? Is there such a thing? Can you explain?
caragon last edited by caragon
I’m using Quasar Framework to create webpages and apps with the exactly same code.
To accomplish that we use cordova to compile for web and app. This way we can use the same cordova plugins for web, android and ios, and we don’t have to change our code.
Of course there are some plugins that can’t work on browser as QRScanner… but there are other as NativeStorage (localStorage on web) that works for all platforms.
This features of cordova combined with Quasar Components was what made me choose Quasar as the developing framework.
If you could add it again, would be amazing! I would really appreciate that :smile_face:
I’ve started this issue cause I’m having problems with caching due to no hash on compiled bundles.
The compilation works and the websites is rendered correctly.
Is there any work around to add a hash when compiling? (Not disabling the entire cache)
Someone with more Cordova experience will need to jump in. Sorry I can’t help further.