Replies: 1 comment 3 replies
-
Hi @rorymcd98, I was facing the same issue so I did some research on vite docs and I am getting use with At the moment it is working in development mode, but at least it is not saying that it is not defined |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My vite.config.ts looks like this:
The background script module I'm trying to execute looks like this:
I have tried a couple of rollup plugins to try get the
process.env
statements to convert to the development api key. I have now tried define.In both cases I get an error in my service worker:
Uncaught ReferenceError: process is not defined
Is there some different process I must use for crxjs?
Beta Was this translation helpful? Give feedback.
All reactions