support node6

jh-changes
Shin'ya Ueoka 7 years ago
parent a6c39af39d
commit 049ab1234c
  1. 2
      script/package.js

@ -4,7 +4,7 @@ let AdmZip = require('adm-zip');
let manifest = require('../manifest'); let manifest = require('../manifest');
manifest.iconFiles = function() { manifest.iconFiles = function() {
return Object.values(this.icons); return Object.keys(this.icons).map(key => this.icons[key]);
}; };
manifest.contentScriptFiles = function() { manifest.contentScriptFiles = function() {