28 lines
609 B
JavaScript
28 lines
609 B
JavaScript
export default {
|
|
sourceDir: ".",
|
|
artifactsDir: "web-ext-artifacts",
|
|
ignoreFiles: [
|
|
"AGENTS.md",
|
|
"CHANGELOG.md",
|
|
"CLAUDE.md",
|
|
"README.md",
|
|
"package.json",
|
|
"package-lock.json",
|
|
"web-ext-config.mjs",
|
|
// Directories need both the bare name and the glob: the glob alone removes
|
|
// the files but leaves an empty directory entry in the ZIP.
|
|
"docs",
|
|
"docs/**",
|
|
"test",
|
|
"test/**",
|
|
"web-ext-artifacts/**",
|
|
],
|
|
build: {
|
|
filename: "search-with-chatgpt-firefox-{version}.zip",
|
|
overwriteDest: true,
|
|
},
|
|
lint: {
|
|
warningsAsErrors: true,
|
|
},
|
|
};
|