-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Uncaught ReferenceError: vendor is not defined when using dll #15
Comments
Do you have "postinstall": "electron-webpack dll" ? Maybe you use custom HTML? |
Yes I do have "postintall": "electron-webpack dll" Also, now I'm getting a different error when I run electron-webpack dll: Error: DllPlugin: supply an Array as entry |
I have the same issue.
EDIT:
The problem is that This is probably due to |
As per your suggestion, I'm using dll to improve the build time but I get Uncaught ReferenceError: vendor is not defined error every time. With my experience with
Laravel Mix
I understand that I need to load the generatedvendor.js
file in dist/render-dll directoy but couldn't figure out how. I thought that this was automated and gets injected by electron-webpack.I'm using electron-vue and my package.json looks something like this:
Thanks for your help.
The text was updated successfully, but these errors were encountered: