Skip to content

Commit

Permalink
swap typescript module resolution to bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
emma-sg committed Jun 18, 2024
1 parent 8806ef5 commit b9c172c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/labeled-field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"outDir": "./dist/",
"module": "esnext",
"target": "es6",
"moduleResolution": "node",
"moduleResolution": "Bundler",
"allowJs": true,
"strict": true,
"declaration": true,
Expand Down

0 comments on commit b9c172c

Please sign in to comment.