adjust webpack & files

This commit is contained in:
Gabe Yuan
2023-08-09 16:30:08 +08:00
parent 7c50ff146f
commit 2ec95ee3a3
34 changed files with 93726 additions and 5358 deletions

View File

@@ -1,11 +1,6 @@
const els = `li, p, h1, h2, h3, h4, h5, h6, dd`;
export const DEFAULT_SELECTOR =
process.env.REACT_APP_CLIENT === "firefox" ||
(process.env.REACT_APP_CLIENT === "userscript" &&
navigator.userAgent.match(/Firefox/i))
? `:is(${els})`
: `:is(${els}):not(:has(:is(${els})))`;
export const DEFAULT_SELECTOR = `:is(${els})`;
export const RULES = [
{