Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix examples #170

Merged
merged 2 commits into from
Nov 22, 2020
Merged

Fix examples #170

merged 2 commits into from
Nov 22, 2020

Conversation

benmccann
Copy link
Member

@benmccann benmccann commented Nov 21, 2020

Reverts #92 (CC @ehrencrona). I couldn't find getStores anywhere in the build. I think emitDeclarationOnly: true probably is not the right thing to be doing. I wasn't quite sure how this was all intended to work, but I think that just getting things working again is a good first step and then we can try to re-enable things when we have some quality control checks. Building the examples is working for me locally, but failing on the CI for some reason, so I guess that will have to be a follow up PR to figure out what's going on

One of the main things I'd want people to check is to see if import { stores } from '/_app/main/client'; being changed to import { getStores } from '/_app/main/runtime/stores'; is the intended thing to do (we might consider renaming getStores back to stores, which I think is more concise and more backwards compatible with Sapper and is probably the #1 question I see people asking about on Discord)

The Real World example is still broken, but the other three are working. I'm not quite sure how to fix the import paths for that project, but I think it shouldn't be too hard to figure out for someone who's a bit more familiar with things now that this has everything building again

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.

2 participants