From 11c75d3f199bd10bc1ecb0c14a0802ffae82470a Mon Sep 17 00:00:00 2001 From: FredKSchott Date: Sun, 8 Aug 2021 06:39:57 +0000 Subject: [PATCH] [ci] yarn format --- docs/src/pages/reference/renderer-reference.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/src/pages/reference/renderer-reference.md b/docs/src/pages/reference/renderer-reference.md index 115fb57f7..d40e1732a 100644 --- a/docs/src/pages/reference/renderer-reference.md +++ b/docs/src/pages/reference/renderer-reference.md @@ -63,14 +63,15 @@ export default { polyfills: ['./shadow-dom-polyfill.js'], // optional, module scripts that should be loaded before client hydration. hydrationPolyfills: ['./hydrate-framework.js'], // optional, polyfills that need to run before hydration ever occurs. jsxImportSource: 'preact', // optional, the name of the library from which JSX is imported - jsxTransformOptions: async () => { // optional, a function to transform JSX files - const { default: { default: jsx }} = await import('@babel/plugin-transform-react-jsx'); + jsxTransformOptions: async () => { + // optional, a function to transform JSX files + const { + default: { default: jsx }, + } = await import('@babel/plugin-transform-react-jsx'); return { - plugins: [ - jsx({}, { runtime: 'automatic', importSource: 'preact' }) - ] - } - } + plugins: [jsx({}, { runtime: 'automatic', importSource: 'preact' })], + }; + }, }; ```