Skip to content

Sample repo to debug Snowpack and Svelte with Vest validation package

License

Notifications You must be signed in to change notification settings

codechips/svelte-snowpack-vest-bug

Repository files navigation

svelte-snowpack-vest-bug

🐛 Investigation repo for Snowpack + Vest bug

What's the bug?

Importing specific Vest components does not work at the top import level.

// in src/App.svelte

// this does not work
import { create, enforce, test } from 'vest';

// this works
import vest from 'vest';
const { create, enforce, test } = vest;

TODO: Try to understand where the problem is.

To run this project

$ npm i && npm start

About

Sample repo to debug Snowpack and Svelte with Vest validation package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published