Giter VIP home page Giter VIP logo

Comments (6)

kontrollanten avatar kontrollanten commented on July 24, 2024

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.

LeDominik avatar LeDominik commented on July 24, 2024

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.

LeDominik avatar LeDominik commented on July 24, 2024

Wohooooo, this should totally solve it: 70bfa7d

from electron-webpack.

mafar avatar mafar commented on July 24, 2024

@LeDominik how did u solve it ?

from electron-webpack.

fabiospampinato avatar fabiospampinato commented on July 24, 2024

I've added a way of overriding the default HTML template in #261, this should greatly help in solving this issue.

from electron-webpack.

shahkeyur avatar shahkeyur commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.