Closed TheHadiAhmadi closed 1 year ago
why didn't imported from $lib/components?
I don't have an example for it right now, but happened while working on this task. when imported from '$lib/components' then some import urls was: 'unpkg.com/ubeac-svelte/Card/Card.svelte'
which is not valid and should be something like: 'unpkg.com/ubeac-svelte/components/Card/Card.svelte'
I am not 100% sure about this and we can test it again.
@iconify/svelte is not working on repl
https://svelte.dev/repl/9cfc98097e5c4d50a25e851121ce3206?version=3.55.1
error message:
enableCache
is not exported by https://unpkg.com/@iconify/svelte@3.0.1/dist/functions.js, imported by https://unpkg.com/@iconify/svelte@3.0.1/dist/Icon.svelte
Also I removed index.d.ts file which is not needed and 'svelte-package' command will generate this file based on index.ts file
@pournasserian please review #882. we can update imports or find other solutions to support REPL later.
Carbon components import other components directly from '.svelte' file
we can test this
@TheHadiAhmadi is this PR valid?
because unpkg.com cdn doesn't support directory imports.
when some imports requested a directory, unpkg.com redirects to /browse/... page which is an HTML page
https://svelte.dev/repl/9a5f84f401224f59b614b16c958659bd?version=3.55.1