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