vue-cli-plugin-browser-extension
vue-cli-plugin-browser-extension copied to clipboard
problem with standalone app in firefox browser
App fails to load in firefox, works okay in chrome.
In firefox console,
getting chrome is not defined
after removing polyfills..
getting browser is not defined
maybe there's a scaffolding issue. The idea is that you should always have a polyfill (it's supposed to be a no-op in firefox) and always code around using the browser
syntax, and not chrome
. Which file is this error originating from?
I have the same problem with the standalone. Works in Chrome but not in Safari or Firefox. Seems to be this line " module.exports = wrapAPIs(chrome);" in the browser-polyfill.js.