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

Add vue-cli-electron-builder support #4

Open
gtsigner opened this issue Apr 29, 2021 · 21 comments
Open

Add vue-cli-electron-builder support #4

gtsigner opened this issue Apr 29, 2021 · 21 comments
Labels
electron-builder enhancement New feature or request help wanted Extra attention is needed

Comments

@gtsigner
Copy link

gtsigner commented Apr 29, 2021

Thank you for the very amazing lib, but i meet some problem when rederer

image

 error  in ./src/renderer/main.loader.js

Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 0)

yo guys, im using vue-cli-electron-builder lib, when i add your plugin to build it mind me module cannot be found

@gtsigner
Copy link
Author

the main process is worked, but not work on rederder process

@gtsigner
Copy link
Author

image
it's my setting

@gtsigner
Copy link
Author

and i think when im building renderder module, virtualModules not work

@gtsigner
Copy link
Author

gtsigner commented Apr 29, 2021

stopped here
image
virtualModules not work

@gtsigner
Copy link
Author

another question is if i want to ignore some files, what should i do

@gtsigner
Copy link
Author

i created same issue at here, nklayman/vue-cli-plugin-electron-builder#1346

@gtsigner
Copy link
Author

Also sometimes i want to ignore some script dont create jsc https://github.com/sbrow/bytenode-webpack-plugin this lib have done this feature

@gtsigner
Copy link
Author

i think that's maybe https://github.com/vuejs/vue-cli this project issue, and it's working on vue-electreon framework

@herberttn
Copy link
Owner

herberttn commented May 5, 2021

I don't know how vue-cli-electron-builder works, but webpack-virtual-modules should work anyway.
I think yours is a different problem. Do you have a repro repo?

I'm planning to add include and exclude options soon.

@gtsigner
Copy link
Author

gtsigner commented May 6, 2021

yep, i have , pls see this repo https://github.com/godtoy/vue-cli-electron-bytenode-issue-6451

@gtsigner
Copy link
Author

gtsigner commented May 6, 2021

thanks y

I don't know how vue-cli-electron-builder works, but webpack-virtual-modules should work anyway.
I think yours is a different problem. Do you have a repro repo?

I'm planning to add include and exclude options soon.

thanks man

@gtsigner
Copy link
Author

gtsigner commented May 9, 2021

Yo, man. anything new ?

@herberttn
Copy link
Owner

Hello @godtoy!
I'll probably try to test this in the next few days...
I was really busy finishing another project.

@gtsigner
Copy link
Author

gtsigner commented Jun 2, 2021

hello, any update ?

@liuhao16
Copy link

@herberttn May I ask if you have fixed this problem? I also encountered the same problem src/main.loader.js module could not be found

@gtsigner
Copy link
Author

gtsigner commented Aug 24, 2021 via email

@zhaoruilinda
Copy link

@herberttn May I ask when you plan to fix this problem? I also encountered the same problem src/main.loader.js module could not be found

@gtsigner
Copy link
Author

give up to encrypt the renderer process codes. it only works on main.js
image

@herberttn herberttn added electron-builder enhancement New feature or request help wanted Extra attention is needed labels Feb 14, 2022
@herberttn
Copy link
Owner

I've never tried to use this plugin with vue-cli-electron-builder or electron-builder, so I don't know if it works or what your error could be.

From my point of view, this is a feature request and not exactly a bug to be fixed. So, since this is not a bug and I don't use these tools, I haven't had the time to check this out yet.

Please feel free to open a pull request adding support for these tools or solving the problem you encountered, that would be nice!

@herberttn herberttn changed the title what the mean about the \main.loader.js Add vue-cli-electron-builder support Feb 14, 2022
@devzw
Copy link

devzw commented Feb 23, 2022

@herberttn May I ask if you have fixed this problem? I also encountered the same problem src/main.loader.js module could not be found

@absir1949
Copy link

i have the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electron-builder enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants