abhijithvijayan/wext-manifest-loader

Bug: array resolving to object

abhijithvijayan opened this issue · 1 comments

permissions: ['tabs', 'storage', 'http://*/*', 'https://*/*'],

changed into

  "permissions": {
    "0": "tabs",
    "1": "storage",
    "2": "http://*/*",
    "3": "https://*/*"
  },

This only happens with arrays

    background: {
        scripts: ['js/background.bundle.js']
	}

bundled to

  "background": {
    "scripts": { "0": "js/background.bundle.js" },
  }