-
Notifications
You must be signed in to change notification settings - Fork 175
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
Exclude modules #573
Comments
What is the use case for excluding modules? An example would also be helpful. |
I'm using @journeyapps/sqlcipher but it is incompatible with electron-rebuild (see here). The suggested workaround is to use |
@malept Another usecase is to exclude If we had --exclude in electron-rebuild package, then we'd be able to tell it to not rebuild fsevents and thus keep the dev tools intact. |
...Notice that packages like chokidar, jest-haste-map etc. have fsevents in package.json's optionalDependencies (which makes sense). That's why I guess electron-rebuild rebuilds it too. |
We're also currently running into this issue specifically for fsevents on windows (where we need it on osx builds). An omit would be nice or some way to ignore and continue if a build fails. |
My use case for wanting this: using node-sqlite3, but with SQLCipher, so I want to run a custom node-gyp for that rebuild only. |
Here's the command we have to use
What would be nice
|
Is there a way to exclude certain modules? There is
onlyModules
to do the opposite, but it's not very practical if you need to exclude a module to always have to keeponlyModuels
up to date.Also, is there a way to get electron-rebuild to list all the modules it's building? If I want to add all my current modules in
onlyModules
except one, I have no idea right now what modules it's actually building.The text was updated successfully, but these errors were encountered: