Skip to content

Commit

Permalink
fixed some build bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
sylingd committed Oct 25, 2018
1 parent fedd131 commit 32870b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/pack-utils/amo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/pack-utils/xpi.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ const config = {
resolve: {
extensions: ['.js', '.vue'],
},
performance: {
hints: false
},
module: {
rules: [{
test: /\.vue$/,
Expand Down

0 comments on commit 32870b6

Please sign in to comment.