![]() // options: Object with the following properties // buildPath - An absolute path to your app's directory. Import rebuild from // Public: Rebuilds a node_modules directory with the given Electron version. ![]() How can I integrate this into Electron Packager?Įlectron-rebuild provides a function compatible with the afterCopy hook This package is automatically used with Electron Forge when packaging an Electron app. prebuild-tag-prefix GitHub tag prefix passed to prebuild-install. b, -debug Build debug version of modules o, -only Only build specified module, or comma separated s, -sequential Rebuild modules sequentially, this is enabled by p, -parallel Rebuild in parallel, this is enabled by default Separated list of "prod", "dev" and "optional". t, -types The types of dependencies to rebuild. e, -electron-prebuilt-dir The path to the prebuilt electron module Modules will only be rebuilt if theyĪlso match the types of dependencies being rebuilt w, -which-module A specific module to build, or comma separated m, -module-dir The path to the app directory to rebuild a, -arch Override the target architecture to something f, -force Force rebuilding modules, even if we would skip v, -version The version of Electron to build against Usage: electron-rebuild -version -module-dir
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |