Update package
This commit is contained in:
parent
97f7c2def2
commit
f647a07d94
|
@ -18,7 +18,7 @@ esbuild
|
||||||
'background.ts',
|
'background.ts',
|
||||||
],
|
],
|
||||||
bundle: true,
|
bundle: true,
|
||||||
minify: true,
|
// minify: true,
|
||||||
outdir: './lib',
|
outdir: './lib',
|
||||||
loader: { '.woff': 'file', '.woff2': 'file' },
|
loader: { '.woff': 'file', '.woff2': 'file' },
|
||||||
plugins: [scss(), svg()],
|
plugins: [scss(), svg()],
|
||||||
|
|
29023
package-lock.json
generated
29023
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -41,6 +41,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/events": "^3.0.0",
|
"@types/events": "^3.0.0",
|
||||||
"@types/react-dom": "^17.0.9",
|
"@types/react-dom": "^17.0.9",
|
||||||
|
"addons-linter": "^4.7.0",
|
||||||
"esbuild": "^0.14.14",
|
"esbuild": "^0.14.14",
|
||||||
"esbuild-plugin-sass": "^1.0.1",
|
"esbuild-plugin-sass": "^1.0.1",
|
||||||
"esbuild-plugin-svgr": "^1.0.0",
|
"esbuild-plugin-svgr": "^1.0.0",
|
||||||
|
|
|
@ -25,7 +25,6 @@ import './sidebar.scss';
|
||||||
|
|
||||||
const Sidebar = () => {
|
const Sidebar = () => {
|
||||||
const [origin, setOrigin] = useState<string | null>(null);
|
const [origin, setOrigin] = useState<string | null>(null);
|
||||||
// const [minValueLength, setMinValueLength] = useState<number | null>(7);
|
|
||||||
const [minValueLength, setMinValueLength] = useState<number | null>(
|
const [minValueLength, setMinValueLength] = useState<number | null>(
|
||||||
localStorage.getItem('minValueLength') === null
|
localStorage.getItem('minValueLength') === null
|
||||||
? 7
|
? 7
|
||||||
|
@ -139,10 +138,6 @@ const Sidebar = () => {
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
getMemory().removeCookiesFor(origin);
|
getMemory().removeCookiesFor(origin);
|
||||||
// getMemory().removeCookiesFor(
|
|
||||||
// origin,
|
|
||||||
// getshorthost(new URL(origin).host)
|
|
||||||
// );
|
|
||||||
setCounter((c) => c + 1);
|
setCounter((c) => c + 1);
|
||||||
setMarksOccurrence(false);
|
setMarksOccurrence(false);
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user