Update package

This commit is contained in:
Arkadiusz Wieczorek 2022-01-29 18:20:26 +01:00
parent 97f7c2def2
commit f647a07d94
4 changed files with 14865 additions and 14166 deletions

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -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);
}} }}