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

preload.js not being packaged #121

Closed
EchopixUser opened this issue Nov 5, 2021 · 1 comment
Closed

preload.js not being packaged #121

EchopixUser opened this issue Nov 5, 2021 · 1 comment

Comments

@EchopixUser
Copy link

EchopixUser commented Nov 5, 2021

filter: ['main.js', 'preload.(.+\.)?js', 'assets']

Hello,
my preload.ts is compiled and built into preload.js, however when running the make command it does not get bundled in the asar. I've tracked it down to this line, if I revert it to filter: ['main.js', 'preload.js', 'assets'] without the regex, it works and bundles it correctly.

@bennymeg
Copy link
Owner

bennymeg commented Nov 8, 2021

That's probably broken because I wrote regex instead of glob pattern. 🙄
I'll fix it.

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

2 participants