Ignore generated files
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -21,3 +21,6 @@
|
|||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
|
|
||||||
|
addon/background/
|
||||||
|
addon/popup/popup.js
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"author": "Elizabeth Cray",
|
"author": "Elizabeth Cray",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"build": "webpack"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"webpack": "^5.102.1",
|
"webpack": "^5.102.1",
|
||||||
|
|||||||
@@ -2,12 +2,12 @@ const path = require("path")
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: {
|
entry: {
|
||||||
background_scripts: "./background/background.js",
|
background: "./background/background.js",
|
||||||
popup: "popup/popup.js"
|
popup: "./popup/popup.js"
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, "addon"),
|
path: path.resolve(__dirname, "addon"),
|
||||||
filename: "[name]/index.js"
|
filename: "[name]/[name].js"
|
||||||
},
|
},
|
||||||
mode: "none"
|
mode: "none"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user