From f348700cef93ee0c8ea9f0964a5347e6d60e6325 Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Fri, 21 Jan 2022 16:24:12 -0800 Subject: [PATCH] Export default in server docs Exporting a named function is deprecated and this now matches the docs directly above. --- .../app/templates/docs/advanced/server-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ember-cli-mirage-docs/app/templates/docs/advanced/server-configuration.md b/packages/ember-cli-mirage-docs/app/templates/docs/advanced/server-configuration.md index 047fd992e..445ba5ea0 100644 --- a/packages/ember-cli-mirage-docs/app/templates/docs/advanced/server-configuration.md +++ b/packages/ember-cli-mirage-docs/app/templates/docs/advanced/server-configuration.md @@ -113,7 +113,7 @@ will extend EmberDataSerializer directly. import { discoverEmberDataModels, applyEmberDataSerializers } from "ember-cli-mirage"; import { createServer } from 'miragejs'; -export function makeServer(config) { +export default function(config) { let finalConfig = { ...config, models: { ...discoverEmberDataModels(), ...config.models },