Dealing with leaks See this mozhacks article for a full description of what this addon does. building the XPI npm i -g jpm (don't install locally, it will include node_modules in your xpi...) test: jpm run pack: jpm xpi License MPL 2.0