schovi / webpack-chrome-extension

Moved and redesigned into https://github.com/schovi/create-chrome-extension
MIT License
167 stars 27 forks source link

Cannot access chrome API on background #16

Closed tennisonchan closed 8 years ago

tennisonchan commented 8 years ago

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

tennisonchan commented 8 years ago

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

edanweis commented 8 years ago

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