You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long time ago, I had written a static html web page using jquery that want to become a Desktop APP.
When I render to app, electron always use {project-folder}/src/renderer/index.js as entry point. However, my expected output is to use the index.html as entry point when I am render to win exe, mac app and linux deb.
I try many times when I am using npm run dev that exactly use index.html as entry point. But, when I use npm run build, it always use {project-folder}/src/renderer/index.js as entry point. How to solve it?
Long time ago, I had written a static html web page using jquery that want to become a Desktop APP.
When I render to app, electron always use {project-folder}/src/renderer/index.js as entry point. However, my expected output is to use the index.html as entry point when I am render to win exe, mac app and linux deb.
I try many times when I am using npm run dev that exactly use index.html as entry point. But, when I use npm run build, it always use {project-folder}/src/renderer/index.js as entry point. How to solve it?
Here my package.json:
My {project-folder}/src/renderer/index.js
My {project-folder}/src/main/index.js
The text was updated successfully, but these errors were encountered: