-
Install node modules, run
yarn
-
Build extension, run
yarn dev
-
Install the extension on Google Chrome
You should mention the JavaScript files that you want to be in the extension as following in webpack.config.js
entry: {
popup: "./src/popup.jsx",
content: "./src/content.jsx",
background: "./src/background.jsx",
},