Closed yaowang908 closed 3 years ago
Process is not defined + rollup
Start the project, load unpacked extension in Chrome. Click the extension, blank page shows up, and Chrome reports error: process is not defined.
Start the project, load unpacked extension in Chrome. Click the extension.
The actual popup and no error.
Blank page
I actually fixed this problem by adding @rollup/plugin-replace. My code is here. Let me know if I should submit this PR.
Thanks a lot worked for me !! It would be great if you could create PR.
@yaowang908 Thanks for the PR 🎉 . Closing this issue.
Google search terms
Process is not defined + rollup
Describe the bug
Start the project, load unpacked extension in Chrome. Click the extension, blank page shows up, and Chrome reports error: process is not defined.
How do we reproduce?
Start the project, load unpacked extension in Chrome. Click the extension.
Expected behavior
The actual popup and no error.
Actual behavior
Blank page
Screenshots
Please complete the following information:
Additional context
I actually fixed this problem by adding @rollup/plugin-replace. My code is here. Let me know if I should submit this PR.