I have a question about Solution 2. What should I write in the entry? Chrome extension has a background.js and a content.js. And if I don't mistake, both of them are entry points.
Yes you should add both in your entry point because that would create two bundles in the build directory and you have to specify both in your manifest.json.
I have a question about Solution 2. What should I write in the entry? Chrome extension has a background.js and a content.js. And if I don't mistake, both of them are entry points.
Hi Aleksey,
So, the answer to your question is that you should ideally mention the js file or files which are called first when your extension is loaded.
Yes, there is an issue related to file path in the recent release. An update is already made for the fix!
Thanks for your reporting!
Happy Coding!😃
Yes you should add both in your entry point because that would create two bundles in the build directory and you have to specify both in your manifest.json.