From ff492f805dd99a57f47c81e18472cf0300c241d5 Mon Sep 17 00:00:00 2001 From: Mason Jones Date: Thu, 29 Jul 2021 14:12:37 -0700 Subject: [PATCH] Update adapter doc examples --- documentation/docs/10-adapters.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/documentation/docs/10-adapters.md b/documentation/docs/10-adapters.md index 1514ea3c5d34..181bcf795499 100644 --- a/documentation/docs/10-adapters.md +++ b/documentation/docs/10-adapters.md @@ -8,11 +8,11 @@ For example, if you want to run your app as a simple Node server, you would use ```js // svelte.config.js -import node from '@sveltejs/adapter-node'; +import adapter from '@sveltejs/adapter-node'; export default { kit: { - adapter: node() + adapter: adapter() } }; ``` @@ -21,12 +21,12 @@ With this, [svelte-kit build](#command-line-interface-svelte-kit-build) will gen ```diff // svelte.config.js -import node from '@sveltejs/adapter-node'; +import adapter from '@sveltejs/adapter-node'; export default { kit: { -- adapter: node() -+ adapter: node({ out: 'my-output-directory' }) +- adapter: adapter() ++ adapter: adapter({ out: 'my-output-directory' }) } }; ```