Add an example on how to use webpack with webextensions

This commit is contained in:
Martin Giger
2016-09-21 17:45:11 +02:00
parent ed25a238bf
commit 71641abd14
8 changed files with 122 additions and 0 deletions

View 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"
}
}