mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: update manifest and webpack config
This commit is contained in:
parent
00cc32b6d6
commit
c9e1bb4887
2 changed files with 7 additions and 13 deletions
|
|
@ -6,14 +6,9 @@
|
|||
"128": "icons/Gitako-128.png",
|
||||
"256": "icons/Gitako-256.png"
|
||||
},
|
||||
"permissions": ["storage", "contextMenus", "activeTab"],
|
||||
"host_permissions": [
|
||||
"*://*.github.com/*",
|
||||
"*://gitako.enix.one/*",
|
||||
"*://*.sentry.io/*",
|
||||
"https://*/*",
|
||||
"http://*/*"
|
||||
],
|
||||
"permissions": ["scripting", "storage", "contextMenus", "activeTab"],
|
||||
"host_permissions": ["*://*.github.com/*", "*://gitako.enix.one/*", "*://*.sentry.io/*"],
|
||||
"optional_host_permissions": ["*://*/*"],
|
||||
"web_accessible_resources": [
|
||||
{
|
||||
"resources": ["icons/vscode/*"],
|
||||
|
|
@ -25,12 +20,10 @@
|
|||
}
|
||||
],
|
||||
"background": {
|
||||
"scripts": ["background.js"]
|
||||
"service_worker": "background.js"
|
||||
},
|
||||
"action": {
|
||||
"browser": {
|
||||
"default_icon": "icons/Gitako.png"
|
||||
}
|
||||
"default_icon": "icons/Gitako.png"
|
||||
},
|
||||
"content_scripts": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -120,7 +120,8 @@ module.exports = {
|
|||
test: /\.js$/,
|
||||
loader: 'babel-loader',
|
||||
// Transpile as least files under node_modules
|
||||
include: /node_modules\/(webext-content-scripts|webext-detect-page)\/.*\.js$/,
|
||||
include:
|
||||
/node_modules\/(webext-content-scripts|webext-detect-page|webext-dynamic-content-scripts)\/.*\.js$/,
|
||||
options: {
|
||||
cacheDirectory: true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue