-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
Compiling a DLL results in a error when attempting to load the vendor file in dev #359
Comments
I also encountered the same problem, how can I quickly solve it? |
I'd recommend taking a look at the open PR #366. It provides a solution. This can be applied locally by modifying your |
Temporarily resolved, thank you very much, and hope to release the revised version as soon as possible |
Is there going to be any movement on this, @develar, or should I investigate alternative solutions to using Webpack with Electron? |
Versions:
electron-builder
: 22.4.1electron-webpack
: 2.8.2Target: Windows,
dev
with a vendor DLLAfter creating a simple Electron app that uses React/React DOM and puts both in a vendor file, I cannot start the project in dev mode.
I believe this is related to the changes done to address #357 which has caused Webpack, or at least
html-loader
to try torequire
the vendor file instead of fetching it from the dev server.One possible fix would be to set
attributes=false
in thehtml-loader
call inside the renderer target configurator. Alternatively, it may be possible to disable just the processing ofsrc
attributes onscript
tags. See https://webpack.js.org/loaders/html-loader/#attributes for more details on that.The text was updated successfully, but these errors were encountered: