Update configuration for local builds

This commit is contained in:
Manuel Bouza
2019-03-26 16:09:58 +01:00
parent 22ac8f4984
commit 76422d7343
7 changed files with 47 additions and 24 deletions

View File

@@ -1,3 +1,4 @@
const uuidv4 = require("uuid/v4")
const CopyWebpackPlugin = require("copy-webpack-plugin")
const { compact } = require("lodash/fp")
@@ -30,7 +31,9 @@ module.exports = env => {
browser_style: true
},
browser_specific_settings: {
gecko: { id: "browser-extension@mocoapp.com" }
gecko: {
id: process.env.APPLICATION_ID || `{${uuidv4()}}`
}
},
description: process.env.npm_package_description,
version: process.env.npm_package_version