mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-24 02:02:53 +02:00
update README (#330)
This commit is contained in:
@@ -5,7 +5,7 @@ The example package used by this extension is `left-pad`, an essential package
|
|||||||
in almost any situation.
|
in almost any situation.
|
||||||
|
|
||||||
## What it does
|
## What it does
|
||||||
This example shows how to use a node module in a background and a content script.
|
This example shows how to use a node module in a background script and popup.
|
||||||
It defines two build targets in [webpack.config.js](webpack.config.js), they each
|
It defines two build targets in [webpack.config.js](webpack.config.js), they each
|
||||||
generate a file that includes all modules used the entry point and store it in
|
generate a file that includes all modules used the entry point and store it in
|
||||||
the [addon](addon/) folder. The first one starts with [background_scripts/background.js](background_scripts/background.js)
|
the [addon](addon/) folder. The first one starts with [background_scripts/background.js](background_scripts/background.js)
|
||||||
|
|||||||
Reference in New Issue
Block a user