Load the extension on Chrome by accessing chrome://extensions/, checking Developer mode, clicking on Load unpacked extension, and selecting the build folder.
Right-click on the loaded extension, and click Inspect Pop-up to view the extension logs and the error of interest.
Please make sure to replace 'YOUR_PROJECT_ID_HERE' with your actual project ID in the code snippet.
I suspect this issue may be related to webpack configuration. I have added the options mentioned in the documentation:
webpack.config.js
experiments: {
asyncWebAssembly: true,
topLevelAwait: true,
layers: true // optional, with some bundlers/frameworks it doesn't work without
}
Any insights into this possibility or help in resolving the issue would be greatly appreciated. Thank you!
I'm encountering an issue when trying to initialize Lucid in my Chrome Extension. The relevant code can be found in src/pages/Popup/Popup.jsx.
To reproduce the issue, please follow these steps:
npm install
to install the dependencies.npm start
.chrome://extensions/
, checkingDeveloper mode
, clicking onLoad unpacked extension
, and selecting thebuild
folder.Inspect Pop-up
to view the extension logs and the error of interest.Please make sure to replace 'YOUR_PROJECT_ID_HERE' with your actual project ID in the code snippet.
I suspect this issue may be related to webpack configuration. I have added the options mentioned in the documentation:
webpack.config.js
Any insights into this possibility or help in resolving the issue would be greatly appreciated. Thank you!