Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BEX chrome extension default content script produces javascript errors #17300

Open
radiantone opened this issue Jun 20, 2024 · 1 comment
Open

Comments

@radiantone
Copy link

radiantone commented Jun 20, 2024

What happened?

I tried using the default content script that quasar creates for my extension, but it doesn't work at all. First, was this error

SyntaxError: Cannot use import statement outside a module (at my-content-script.js:4:1)
then this error

then

SyntaxError: Unexpected token 'export'

What did you expect to happen?

No errors

Reproduction URL

https://codepen.io/Darren-G/pen/QWRmNjw

How to reproduce?

Load a skeleton chrome extension with quasar bex (provided sample) content script

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

BEX Mode

Platforms/Browsers

No response

Quasar info output

No response

Relevant log output

No response

Additional context

No response

Copy link

Hi @radiantone! 👋

It looks like you provided an invalid or unsupported reproduction URL.
Do not use any service other than Codepen, jsFiddle, StackBlitz, Codesandbox, and GitHub.
Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc.
Please edit your original post above and provide a valid reproduction URL as explained.

Without a proper reproduction, your issue will have to get closed.

Thank you for your collaboration. 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant