What is Svelte?
Pull requests are encouraged and always welcome. Pick an issue and help us out!
To install and work on Svelte locally:
git clone https://github.com/sveltejs/svelte.git cd svelte npm install
Do not use Yarn to install the dependencies, as the specific package versions in
package-lock.jsonare used to build and test Svelte.
To build the compiler, and all the other modules included in the package:
npm run build
To watch for changes and continually rebuild the package (this is useful if you're using npm link to test out changes in a project locally):
npm run dev
npm run test
To filter tests, use
--grep). For example, to only run tests involving transitions:
npm run test -- -g transition
cd site npm install && npm run update npm run dev
Is svelte.dev down?
Probably not, but it's possible. If you can't seem to access any
.dev sites, check out this SuperUser question and answer.