question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

assets-only build

See original GitHub issue

In development, I frequently just update a web asset, and want to re-run it simulator or on a device. But to run complete build npm run cordova-build-{platform} takes a while. It would be great to have a quick build of just webpack assets, and copy them to src-cordova/www. Then I can just run Xcode IDE build, which seems to be faster than running command line xcodebuild.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
m0dch3ncommented, Jun 20, 2019

Hi @jacobg

I implemented your build only www by myself now in v2.3.1

PS: if you upgrade, you need to adapt your config.xml too: Just add <hook type="after_prepare" src="../node_modules/vue-cli-plugin-cordova/serve-config-hook.js" />

Otherwise the plugin is no longer pointing the config.xml to the dev server…

0reactions
jacobgcommented, Jun 20, 2019

@m0dch3n Awesome, thank you so much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Assets Only Attribute for Unity with Odin Inspector
AssetsOnly is used on object properties, and restricts the property to project assets, and not scene objects. Use this when you want to...
Read more >
Make custom building assets only ploppable? : r/CitiesSkylines
Make custom building assets only ploppable? I added some custom residential building assets and am able to add them using Find It 2...
Read more >
Assets only imported in resource routes not included in build ...
Steps to Reproduce. Create a resource route; Import an asset (e.g., an image); Observe the resulting URL appears correct (includes a hash) ...
Read more >
android - Missing assets only in iOS release build after eject ...
I resolved the issue like the following code. When ejecting, the expo is supposed to generate a metro.config.js file that looks like that...
Read more >
Reducing Build File Size - Assets only 1.8gb yet build is 8.5gb??
HI, I have a predicament, my build for my game is currently at a massive 9 gig, yet the entire assets are only...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found