railsware / bozon

🛠 Command line tool for building, testing and publishing modern Electron applications
MIT License
758 stars 52 forks source link

Loading custom html with custom script #80

Open uzumakinaruto123 opened 3 years ago

uzumakinaruto123 commented 3 years ago

Trying to load abc.html from renderers folder and included abc.js from javascripts folder in abc.html. But, abc.js is not found.

builds/development/renderer/abc.js not found

In the new bozon app, index.js is also included as an entry point in webpack config and also included as a script in renderers/index.html. what does it mean?

How can custom html be loaded with custom script name?

andrewo0 commented 3 years ago

you can create a new entry but the faster way is to import the script in index.js file