How to build a Chrome extension that makes API calls.

Here’s what we’ll be building
npm i webpack && npm i webpack-cli
mkdir src && touch index.js
webpack
{ "manifest_version": 2, 
"name": "C19-Search!",
"version": "0.1.0",
"permissions": ["<all_urls>"],
"browser_action":
{ "default_popup": "index.html" }
}
current file structure

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store