Ignore generated files

This commit is contained in:
2025-11-10 16:28:20 -05:00
parent f9224e5a97
commit 326876343f
3 changed files with 7 additions and 4 deletions

3
.gitignore vendored
View File

@@ -21,3 +21,6 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
addon/background/
addon/popup/popup.js

View File

@@ -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",

View File

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