Solved it in following way:
In webpack.config.js entry: { 'content': './content.js', 'background': './background.js', 'popup/popup': './popup/popup.js', 'options/options': './options/options.js', },
After build, content script is cut from manifest.json by some reason.. have to add it manually
Thanks for the feedback and for raising an issue/solving it. :)
As you correctly shared, you need to pass the entry files exactly how you did.
I'm sorry for not making it explicit in the tutorial. I wrote the code but not the guide for it ( github.com/streaver/vue-web-extens... )
Nice catch and sorry for the inconvenience!
Note: by default github.com/Kocal/vue-web-extension adds the background, popup & options but not the content.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Solved it in following way:
In webpack.config.js
entry: {
'content': './content.js',
'background': './background.js',
'popup/popup': './popup/popup.js',
'options/options': './options/options.js',
},
After build, content script is cut from manifest.json by some reason.. have to add it manually
Thanks for the feedback and for raising an issue/solving it. :)
As you correctly shared, you need to pass the entry files exactly how you did.
I'm sorry for not making it explicit in the tutorial. I wrote the code but not the guide for it ( github.com/streaver/vue-web-extens... )
Nice catch and sorry for the inconvenience!
Note: by default github.com/Kocal/vue-web-extension adds the background, popup & options but not the content.