Preact extension boilerplate with popup and options content not displayed

81 views
Skip to first unread message

Anutosh Ghosh

unread,
May 11, 2021, 2:44:02 AM5/11/21
to Chromium Extensions
I have been trying to build a chrome extension using preact, webpack, babel, first of all I have been able to create the boiler plate with webpack setup that spills out the contents to a dist directory containing the chrome extension which is to be uploaded, I have included all contents like mainfest.json with popup, options,background and contentscript, and also loaded in chrome://extensions, the background and contentscript are working well as expected, but there is some issue with the options and popup as no content is being displayed, I have used jsx extensions and syntax in options and popup, also used babel-loaders to process them, but surprisingly the content is not displayed for popup and options, please give suggestions and advice as to how to fix this.
Reply all
Reply to author
Forward
0 new messages