Configure package exports explicitly (#336)
Closes #337 Blocks https://github.com/webrecorder/archiveweb.page/issues/198 Adds a dedicated `misc` export, as well as explicitly exporting the `electron-*` files and the `index.html` file. This restricts imports to only these files, and allows us to not have to exactly match webpack configs between RWP and AWP.
This commit is contained in:
@@ -8,7 +8,7 @@ import faX from "@fortawesome/fontawesome-free/svgs/solid/times.svg";
|
||||
|
||||
import { registerIconLibrary } from "@shoelace-style/shoelace/dist/utilities/icon-library.js";
|
||||
|
||||
import systemLibrary from "@shoelace-style/shoelace/dist/components/icon/library.system";
|
||||
import systemLibrary from "@shoelace-style/shoelace/dist/components/icon/library.system.js";
|
||||
|
||||
// disable system library to prevent loading of unused data: URLs
|
||||
// allow only "x-lg" as it is needed for sl-dialog
|
||||
|
||||
Reference in New Issue
Block a user