Open ghost opened 5 years ago
Looks like it would be easier to build extension in its own extension/
subdirectory and then move the artifact into build/
. Thanks to npm
has node_modules
hardcoded
Added a way to run Firefox with the extension buy executing npm run run
so it would open /examples/echo/index.html
.
Next: improve example to the point when it would be easy to run. Following step is to publish an extension with the example.
Mozilla's
web-ext
allows to build and sign the WebExtension automatically. Let's have a customsetup.py
command for that namedbuild_webextension
.Running of this command should result in the
.xpi
filed generated under thedist
directory. All intermediate files should be located withinbuild/
directory.