improve mue building

This commit is contained in:
David Ralph
2020-06-19 21:01:10 +01:00
parent 69189fce79
commit da5a4da97b
3 changed files with 5 additions and 4 deletions

View File

@@ -10,7 +10,6 @@
"chrome_url_overrides": {
"newtab": "index.html"
},
"content_security_policy": "script-src 'self' 'unsafe-eval' 'sha256-Q/fJeEyXf7ZhxjXeAydpu6mDGAmyqvj93tDPNxGThn0='; object-src 'self'",
"icons": {
"16": "./icons/16x16-circle.png",
"48": "./icons/48x48-circle.png",

View File

@@ -11,6 +11,5 @@
},
"chrome_settings_overrides": {
"homepage": "index.html"
},
"content_security_policy": "script-src 'self' 'unsafe-eval' 'sha256-Q/fJeEyXf7ZhxjXeAydpu6mDGAmyqvj93tDPNxGThn0='; object-src 'self'"
}
}

View File

@@ -29,7 +29,10 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build"
"build": "env INLINE_RUNTIME_CHUNK=false && react-scripts build",
"chrome": "cp manifest/chrome.json build/manifest.json",
"firefox": "cp manifest/firefox.json build/manifest.json",
"opera": "cp manifest/opera.json build/manifest.json && cp manifest/background-opera.js build/"
},
"eslintConfig": {
"extends": "react-app"