Skip to content

build: Exclude svelte from Rollup’s external module list#767

Merged
nicolodavis merged 1 commit into
masterfrom
delucis/fix/766
Jul 22, 2020
Merged

build: Exclude svelte from Rollup’s external module list#767
nicolodavis merged 1 commit into
masterfrom
delucis/fix/766

Conversation

@delucis
Copy link
Copy Markdown
Member

@delucis delucis commented Jul 21, 2020

Fixes #766

@nicolodavis I’ve found it a little tricky to test this, but looking through the bundle output, this removes the Svelte imports introduced in 0.39.15, and I could get a demo project to build. Sorry for all the false starts getting the Svelte–Typescript integration working, I’ve been learning the hard way to double check my work…

@delucis delucis requested a review from nicolodavis July 21, 2020 00:33
@nicolodavis
Copy link
Copy Markdown
Member

@delucis Taking a step back, what are we losing by keeping 'svelte' in devDependencies?

@delucis
Copy link
Copy Markdown
Member Author

delucis commented Jul 22, 2020

Typescript support for consumers. Users would have to manually install Svelte so that its ambient type declaration for '*.svelte', which the client type declaration depends on, is available.

@nicolodavis nicolodavis merged commit 84e93b4 into master Jul 22, 2020
@nicolodavis nicolodavis deleted the delucis/fix/766 branch July 22, 2020 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

error loading react client

2 participants