Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: Webpack example #6

Open
adamwong246 opened this issue Apr 3, 2020 · 3 comments
Open

feature request: Webpack example #6

adamwong246 opened this issue Apr 3, 2020 · 3 comments

Comments

@adamwong246
Copy link

Most people use webpack but it adds a lot of confusion to this simple demo. An example based on webpack make things clearer

@Kvisaz
Copy link

Kvisaz commented Apr 6, 2020

Most people use webpack but it adds a lot of confusion to this simple demo. An example based on webpack make things clearer

Yeah. Popular electron-builder frameworks for webpack

  • requires separate main and renderer dirs
  • can`t load local files in dev mode without black magic

But concept of jlongster is great. I try to implement this example in my webpack configuration, but can`t make working sample yet

@adamwong246
Copy link
Author

I've made a lot of progress with this problem but it's incomplete. See https://github.com/adamwong246/SpaceTrash for my attempt. I will keep ya'll in the loop as aI make progress.

@barbalex
Copy link

@Kvisaz

can`t load local files in dev mode without black magic

How do I find the black magic to enable this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants