Skip to content

Commit

Permalink
fix: remove setbasepath in favour of bundles icons
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed May 31, 2024
1 parent 9724370 commit a8978dd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions components/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// Index to import all components together
// import '@hotosm/ui/components';

// setBasePath makes the icons available via CDN, instead of expecting them to be
// on the webserver the runs the web-component
import { setBasePath } from '@shoelace-style/shoelace/dist/utilities/base-path.js';
setBasePath('https://cdn.jsdelivr.net/npm/@hotosm/ui@latest/dist');

export { default as Button } from './Button';
export { default as Header } from './Header';
export { default as Toolbar } from './Toolbar';
Expand Down

0 comments on commit a8978dd

Please sign in to comment.