Closed Nevgup closed 3 years ago
Are you using a bundler ? Like Webpack or Rollup ?
The error you get is a JS error unrelated to this package, it's complaining about the use of import
outside a module file...
Either add module
type to your script tag (<script type="module" src="..."></script>
) or use a bundler so the output is a single concatenated JS file.
As this error seems unrelated to axios-chrome-messaging-adapter
and there was no recent update on this ticket, I'm closing it for now.
Feel free to add a comment again and I'll re-open it.
Hello !
I have this content script (in src/index.js) file :
Here is my dist/axios-client.js :
and my background.js :
The problem is I can import anything from the background. When i try to import, I have this error :
Someone can help me please ?
Thanks in advance !