Comments (6)
Yes, there would be great to have the option to not use any JS template renderer to use this package. Wouldn't there be a good solution to skip the auto generation of index.html if src/renderer/index.html exists?
from electron-webpack.
I just need some way to dig into it; and AFAIK the template linked is the technique electron-webpack uses, so I thought why not expose it. In the end it's pretty cool that Webpack creates it and adds all the stuff needed for HMR in a failsafe way, so no risk for people to get the index.html
wrong and post error reports all the time.
from electron-webpack.
Wohooooo, this should totally solve it: 70bfa7d
from electron-webpack.
@LeDominik how did u solve it ?
from electron-webpack.
I've added a way of overriding the default HTML template in #261, this should greatly help in solving this issue.
from electron-webpack.
Anyone else looking for the solution, you can find doc here. Feel free to reopen the issue if still having any issues. @loopmode Can you close the issue please?
from electron-webpack.
Related Issues (20)
- Fail to transpile other js files next to src/main/index.js file HOT 4
- rendering react-router-dom hooks cause hooks rules error HOT 3
- Custom webpack config gets into infinite loop HOT 5
- Sentry integration not working HOT 10
- electron-webpack dev not works for flash plugin HOT 1
- Question: Devserver disable
- electron-webpack issue on --env.production parameter HOT 1
- electron 13.x HOT 6
- Images not showing up in output folder HOT 1
- CSS Error: Unexpected Token
- Can you push update so there was support of Webpack 5? HOT 5
- Adding tailwind to Electron-Webpack HOT 1
- electron-webpack doesn't recognize my loader HOT 3
- NAPI Addon How it works in electron-wepack HOT 1
- Recommended migration strategies? HOT 3
- map file not server by webpack-dev-server HOT 1
- Segmentation fault on Windows 11
- Electron cannot be found after packaging??? HOT 2
- Update expo from 49 to 50 blank white page.
- Can you provide an Example with npm?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electron-webpack.