romkor / svelte-portal

Svelte component for rendering outside the DOM of parent component
https://svelte.dev/repl/407576d4fa984cfb97dcdd3da98e833e
MIT License
439 stars 21 forks source link

Build the package before publishing on npm #14

Closed johannchopin closed 4 years ago

johannchopin commented 4 years ago

Hey @romkor 👋

I use your useful svelte component in one of my project gitmoji-browser-extension. But sadly your package on npm contain the .svelte component directly. Is it possible to have it build on npm?

romkor commented 4 years ago

Hey @johannchopin! Will try look at it soon.

johannchopin commented 4 years ago

Hey did you make some progress on this one? 😅

romkor commented 4 years ago

Sorry for laaaate response. Not sure, I understand why you need builded version of svelte-portal.

romkor commented 4 years ago

Svelte compiler will compile svelte and related libs when building your project.