From a84b3c29b5cfe742acbc883006cae1bd73171d46 Mon Sep 17 00:00:00 2001 From: Sam Clearman Date: Mon, 22 Apr 2019 18:59:29 -0700 Subject: [PATCH] Add info about Babel and Typescript compatibility. --- .../content/blog/2019-04-16-svelte-for-new-developers.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/site/content/blog/2019-04-16-svelte-for-new-developers.md b/site/content/blog/2019-04-16-svelte-for-new-developers.md index 54d5a2b7ce..864545f33b 100644 --- a/site/content/blog/2019-04-16-svelte-for-new-developers.md +++ b/site/content/blog/2019-04-16-svelte-for-new-developers.md @@ -6,4 +6,11 @@ authorURL: https://twitter.com/Rich_Harris draft: true --- -*Coming soon* This blog post will walk you through installing Node.js and git and using Terminal.app to clone a project template and start developing with Svelte \ No newline at end of file +*Coming soon* This blog post will walk you through installing Node.js and git and using Terminal.app to clone a project template and start developing with Svelte. For now, here is a brief FAQ. + +- [Can I use Svelte with Babel?](#can-i-use-svelte-with-babel) +- [Can I use Svelte with Typescript?](#can-i-use-svelte-with-typescript) +## Can I use Svelte with Babel? +Yes! You can put `babel-loader` after `svelte-loader` in your webpack config, or `rollup-plugin-babel` after `rollup-plugin-svelte` in your Rollup config, and it should all work. If you've got wacky stuff inside your `