/webext-redux-example

Primary LanguageJavaScriptMIT LicenseMIT

Installing and Running

npm i
npm run build

Load your extension on Chrome following:

  1. Access chrome://extensions/
  2. Check Developer mode
  3. Click on Load unpacked extension
  4. Select the build folder.

Webpack auto-reload and HRM

To make your workflow much more efficient this boilerplate uses the webpack server to development (started with npm start) with auto reload feature that reloads the browser automatically every time that you save some file in your editor.

You can run the dev mode on other port if you want. Just specify the env var port like this:

$ PORT=6002 npm run start

Packing

After the development of your extension run the command

$ NODE_ENV=production npm run build

Now, the content of build folder will be the extension ready to be submitted to the Chrome Web Store. Just take a look at the official guide to more infos about publishing.

Credentials

This repo uses Chrome Extension Boilerplate created by Michael Xieyang Liu | Website