diff --git a/package.json b/package.json index 5fd6ebff..7fc950c3 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "homepage": "https://replayweb.page/", "author": "Webrecorder Software", "license": "AGPL-3.0-or-later", - "types": "dist/ui.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", diff --git a/src/sorter.ts b/src/sorter.ts index eac8b08a..d970f3da 100644 --- a/src/sorter.ts +++ b/src/sorter.ts @@ -5,7 +5,6 @@ import { wrapCss } from "./misc"; import fasSortDown from "@fortawesome/fontawesome-free/svgs/solid/sort-down.svg"; import fasSortUp from "@fortawesome/fontawesome-free/svgs/solid/sort-up.svg"; -import { customElement } from "lit/decorators.js"; // =========================================================================== @customElement("wr-sorter") diff --git a/src/url-resources.ts b/src/url-resources.ts index 4124ff82..d7119e9a 100644 --- a/src/url-resources.ts +++ b/src/url-resources.ts @@ -8,14 +8,6 @@ import fasSearch from "@fortawesome/fontawesome-free/svgs/solid/search.svg"; import "keyword-mark-element/lib/keyword-mark.js"; import { type Item as ItemType } from "./types"; -type URLResource = { - url: string; - mime: string; - status: string; - date: string; - ts: string; -}; - export type URLResource = { id: number; title: string; diff --git a/webpack.config.js b/webpack.config.js index 48b9363a..5419e7c9 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -130,7 +130,7 @@ const browserConfig = (/*env, argv*/) => { optimization, output: { - path: path.join(__dirname, dist), + path: path.join(__dirname, "dist"), filename: "[name].js", libraryTarget: "self", globalObject: "self",