mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-17 14:59:12 +02:00
Add an example on how to use webpack with webextensions
This commit is contained in:
18
webpack-modules/package.json
Normal file
18
webpack-modules/package.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "webpack-webextension",
|
||||
"version": "1.0.0",
|
||||
"description": "A minimal example of how to use npm modules from within a WebExtension.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build": "webpack"
|
||||
},
|
||||
"author": "Martin Giger (https://humanoids.be)",
|
||||
"license": "MPL-2.0",
|
||||
"devDependencies": {
|
||||
"webpack": "^1.13.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"left-pad": "^1.1.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user