schovi/webpack-chrome-extension

Cannot access chrome API on background

Closed this issue · 2 comments

Due to the structure on background, it cannot access important chrome API like chrome.runtime.onConnect on any file calling via localhost:3001.

https://developer.chrome.com/extensions/runtime#event-onConnect

Sorry. It seems like an issue related to Chrome or something else. Closing it now.

@tennisonchan Did you resolve this issue? I have the same problem on Windows Chrome v50. Works fine on Chrome Linux.