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.

Built static assets are missing in build *.app

See original GitHub issue
  • Version: 5.23.2
  • Target: macos

I’m using single package.json project structure and building app to ./dist folder. Once packaged, ./dist folder is ignored and missed in final executable *.app. I guess built resources are ignored internally. Is there are any way to avoid this?

My directories setup is:

  "directories": {
    "buildResources": "dist",
    "output": "release"
  }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
develarcommented, Aug 9, 2016

My icon.icns were bundled with app itself to dist directory.

And that’s is very bad, because it adds unnecessary weight.

I wish this to be in the docs. What do you think?

+100. I dream about it. #357

1reaction
develarcommented, Aug 9, 2016

What is the point of buildResources then?

buildResources directory contains resources required to build your app in a packaged or distributable form — icons, installer templates, entitlements and so on. It is not directory for app resources.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Static files are missing in VueJS application - Stack Overflow
So, when I go to http://localhost/static/data.json or http://localhost/assets/data.json I get this error message: The requested URL /static/ ...
Read more >
Static Asset Missing Issue - Get Help - Vue Forum
Hi I got an error with adding the static asset in my Vue app. I've added the logo to the data as
Read more >
Guide | Vue CLI Plugin Electron Builder - GitHub Pages
Easily Build Your Vue.js App For Desktop With Electron. ... Static assets work the same as a regular web app. Read Vue CLI's...
Read more >
How to solve vue.js prod build assets relative path problem
After I got my installation issues rectified I created a new vuejs project using the vue UI which I fixed in one of...
Read more >
Asset Bundling (Vite) - The PHP Framework For Web Artisans
Processing Static Assets With Vite; Refreshing On Save; Aliases ... When building applications with Laravel, you will typically use Vite to bundle your ......
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