bytenode-webpack-plugin icon indicating copy to clipboard operation
bytenode-webpack-plugin copied to clipboard

Add `vue-cli-electron-builder` support

Open little-gg-bound opened this issue 3 years ago • 21 comments

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

little-gg-bound avatar Apr 29 '21 10:04 little-gg-bound

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

little-gg-bound avatar Apr 29 '21 11:04 little-gg-bound

image it's my setting

little-gg-bound avatar Apr 29 '21 11:04 little-gg-bound

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

little-gg-bound avatar Apr 29 '21 11:04 little-gg-bound

stopped here image virtualModules not work

little-gg-bound avatar Apr 29 '21 11:04 little-gg-bound

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

little-gg-bound avatar Apr 29 '21 11:04 little-gg-bound

i created same issue at here, https://github.com/nklayman/vue-cli-plugin-electron-builder/issues/1346

little-gg-bound avatar Apr 30 '21 02:04 little-gg-bound

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

little-gg-bound avatar Apr 30 '21 03:04 little-gg-bound

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

little-gg-bound avatar Apr 30 '21 06:04 little-gg-bound

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.

herberttn avatar May 05 '21 12:05 herberttn

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

little-gg-bound avatar May 06 '21 00:05 little-gg-bound

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

little-gg-bound avatar May 06 '21 00:05 little-gg-bound

Yo, man. anything new ?

little-gg-bound avatar May 09 '21 07:05 little-gg-bound

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

herberttn avatar May 21 '21 23:05 herberttn

hello, any update ?

little-gg-bound avatar Jun 02 '21 07:06 little-gg-bound

@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

liuhao16 avatar Aug 24 '21 11:08 liuhao16

no yet

jiumeng @.***> 于2021年8月24日周二 下午7:09写道:

@herberttn https://github.com/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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/herberttn/bytenode-webpack-plugin/issues/4#issuecomment-904544774, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIB2VHA6YRAYFLX7I3OXM3T6N4WDANCNFSM43ZSYRMA .

little-gg-bound avatar Aug 24 '21 14:08 little-gg-bound

@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

zhaoruilinda avatar Feb 10 '22 07:02 zhaoruilinda

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

little-gg-bound avatar Feb 11 '22 08:02 little-gg-bound

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 avatar Feb 14 '22 15:02 herberttn

@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

devzw avatar Feb 23 '22 03:02 devzw

i have the same problem.

absir1949 avatar Sep 03 '22 02:09 absir1949