diff --git a/scripts/pack-utils/amo.js b/scripts/pack-utils/amo.js index 382ad23..4e9d560 100644 --- a/scripts/pack-utils/amo.js +++ b/scripts/pack-utils/amo.js @@ -11,7 +11,7 @@ module.exports = function(manifest) { return new Promise(resolve => { // replace manifest const newManifest = merge(true, manifest); - newManifest.application = { + newManifest.applications = { gecko: { id: package.webextension.firefox.amo, strict_min_version: package.webextension.firefox.version diff --git a/scripts/pack-utils/xpi.js b/scripts/pack-utils/xpi.js index 4fe6abf..8e5050a 100644 --- a/scripts/pack-utils/xpi.js +++ b/scripts/pack-utils/xpi.js @@ -11,7 +11,7 @@ module.exports = function(manifest, outputDir) { return new Promise(resolve => { // replace manifest const newManifest = merge(true, manifest); - newManifest.application = { + newManifest.applications = { gecko: { id: package.webextension.firefox.xpi, strict_min_version: package.webextension.firefox.version, diff --git a/webpack.config.js b/webpack.config.js index 3083034..88f5e6e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -25,6 +25,9 @@ const config = { resolve: { extensions: ['.js', '.vue'], }, + performance: { + hints: false + }, module: { rules: [{ test: /\.vue$/,