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

Add svelte to packageLookupFields #1501

Merged
merged 1 commit into from
Nov 5, 2020

Conversation

firefish5000
Copy link
Contributor

@firefish5000 firefish5000 commented Nov 3, 2020

Changes

Makes plugin-svelte append 'svelte' to snowpack's packageLookupFields.
Used for importing svelte sharable components into svelte apps.

Testing

Add test to ensure packageLookupFields field changed as expected.

Docs

No docs added. I believe it would belong in lower level docs than any existing documentation.

@vercel
Copy link

vercel bot commented Nov 3, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pikapkg/snowpack/dwc7qnds5
✅ Preview: https://snowpack-git-svelte-packagefields.pikapkg.vercel.app

@firefish5000
Copy link
Contributor Author

firefish5000 commented Nov 3, 2020

That took a few more tries than it should have. Finally figured out how to get jest running locally (didn't realize I needed to build first)

@FredKSchott
Copy link
Owner

LGTM! Thanks for the change 👍

@FredKSchott FredKSchott merged commit e3eca61 into FredKSchott:master Nov 5, 2020
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.

None yet

2 participants