Open dhruvkb opened 3 years ago
I also want this feature, Vue CLI 5 is in RC status now, and It is time to update this repo.
In my test, this TypeError
is because of copy-webpack-plugin
, as they change the args structure.
However, not only this dependency is old, the webpack-extension-reloader
dependency is also not support for webpack, and should change it to https://github.com/SimplifyJobs/webpack-ext-reloader.
More the dependency webextension-polyfill
is also old to use , and can be update to 0.8.0
I found a fork https://github.com/mikelxk/vue-cli-plugin-browser-extension which support webpack 5 !!!! (see below comment )
I fork this project and did some work to make it support webpack 5, You can Visit https://github.com/Rhilip/vue-cli-plugin-browser-extension/commit/7e19baf87a1addda8c8445bd9fad62602af9fc41 to see more detail, Since mikelxk/vue-cli-plugin-browser-extension lost a dependency and a very import work in new vue-cli 5.x is not done in this project.
Change package.json to "vue-cli-plugin-browser-extension": "Rhilip/vue-cli-plugin-browser-extension",
, My full merge commit is like https://github.com/ronggang/PT-Plugin-Plus/commit/5b94715941e6d64c5102549635098a6310f784fa
Update at 2022.12.17:
"vue-cli-plugin-browser-extension": "npm:@rhilip/vue-cli-plugin-browser-extension@^0.27.0",
Manifest v3 support is there already : https://github.com/SimplifyJobs/webpack-ext-reloader/issues/28
Manifest v3 support is there already : SimplifyJobs/webpack-ext-reloader#28
I see this issue and connected pr, however no merge and release. Since SimplifyJobs/webpack-ext-reloader lack maintenance, I may want to remove this deps or replace it to another.
https://github.com/SimplifyJobs/webpack-ext-reloader is now upgraded to MV3 Please release a compatible version
Does the plugin support Webpack 5 which will be the default in Vue CLI 5?
Adding the plugin in a new Vue CLI 5 project (with TypeScript) generates the following error: