-
I'm building an Electron + Parcel app, but I've encountered an issue when opening the app. The app itself gets build and I see the html template, but it won't load the script, it says: Failed to load resource: net::ERR_FILE_NOT_FOUND main.js
The final result that I get from parcel is a minified html file, which looks something like:
Now, I do roughly understand the issue - it's probably because the Is there any better solution or setting that I can enable in electron and/or parcel for it to allow forward slashes or that the forward slashes get removed on build time? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Solved it by adding a |
Beta Was this translation helpful? Give feedback.
-
Where to add this "--public-url"? |
Beta Was this translation helpful? Give feedback.
Solved it by adding a
--public-url .
flag to parcel.