Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

对照式网页翻译浏览器扩展。原文与译文并排呈现,让阅读外语内容不必在两个界面之间来回切换。

Chrome / Edge / Firefox,Manifest V3,当前 v2.0。
Chrome / EdgeManifest V3)· Firefox(MV2),当前 v2.0。

## 特性

Expand Down
7 changes: 7 additions & 0 deletions wxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ export default defineConfig({
},
}),
}),
// Firefox 的 AMO 要求随扩展提交源码包,里面只需要能重现构建的东西。
// 默认规则会把整个仓库塞进去 —— 文档、商店截图、设计稿,以及
// docs/testing/logs/ 下每次跑测试都会重写的覆盖率与报告产物,
// 合计约 4.3MB,对复现构建毫无用处,还让审核者多下载 20 倍体积。
zip: {
excludeSources: ['docs/**', 'store/**', 'design/**'],
},
vite: () => ({
plugins: [blockTestFiles()],
}),
Expand Down
Loading