PavelVanecek / gulp-crx

Pack Chrome Extension in the pipeline.
31 stars 3 forks source link

Private key should be automatically generated if not provided #29

Open YenHub opened 2 years ago

YenHub commented 2 years ago

See https://github.com/oncletom/crx/issues/69

$ gulp packageCRX
[20:48:49] Using gulpfile ~/git/chrome-extension-boilerplate/gulpfile.js
[20:48:49] Starting 'packageCRX'...
[20:48:49] Finished 'packageCRX' after 4.27 ms
Impossible to generate a public key: privateKey option has not been defined or is empty.
✨  Done in 2.70s.

Is it possible to implement the same behaviour as in the parent dependency, that is; to generate a key automatically if one is not provided?

I suspect the behaviour comes into play here:- https://github.com/PavelVanecek/gulp-crx/pull/24