solidjs / solidjs/solid-vite-plugin

Assets from `/public` doesn't work in release build of Electron App when using `electron-vite`

Open
#87 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
520
Forks
70
Avg merge
23h 35m
Merged PRs (30d)
39

Description

Hi, i am working on graphics editing app made with Solid.
Some time ago, i decided to make desktop client to simplify working with files and directories.

I found project called electron-vite, which make life of electron dev and newcommer easier.
And, my first tries failed because of issues with release builds.
Assets which has been put into /public directory didn't work in built app.

At first, i made issue at electron-vite repo.
After some invesigation, author talled me that, electron-vite is fine, and looks like problem somewhere in vite-pluting-solid.

Could you please check this out, and help investigate it further?

More details here (in second part of my message):
https://github.com/alex8088/electron-vite/issues/99#issuecomment-1420706559

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked electron-vite issue, especially the second part of the referenced comment, and reproduce the problem in a release build of the Electron app. Trace how /public assets are handled through vite-plugin-solid; done means those assets load correctly in the packaged application.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript, vite
Domain
build-system, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.