diff --git a/packages/plugin-babel/README.md b/packages/plugin-babel/README.md index d032c4e66..eaa2e8946 100644 --- a/packages/plugin-babel/README.md +++ b/packages/plugin-babel/README.md @@ -27,7 +27,7 @@ export default { ... plugins: [ - ...greenwoodPluginBabel() // notice the spread ... ! + greenwoodPluginBabel() ] } ``` @@ -68,8 +68,7 @@ If you would like to use it, either standalone or with your own custom _babel.co ... plugins: [ - // notice the spread ... ! - ...greenwoodPluginBabel({ + greenwoodPluginBabel({ extendConfig: true }) ] diff --git a/packages/plugin-graphql/README.md b/packages/plugin-graphql/README.md index 140a39597..56e2fbe93 100644 --- a/packages/plugin-graphql/README.md +++ b/packages/plugin-graphql/README.md @@ -42,8 +42,8 @@ export default { ... plugins: [ - ...greenwoodPluginGraphQL(), // notice the spread ... ! - ...greenwoodPluginRendererPuppeteer() // notice the spread ... ! + greenwoodPluginGraphQL(), + greenwoodPluginRendererPuppeteer() ] } ``` diff --git a/packages/plugin-import-commonjs/README.md b/packages/plugin-import-commonjs/README.md index e1020e127..216f7c83c 100644 --- a/packages/plugin-import-commonjs/README.md +++ b/packages/plugin-import-commonjs/README.md @@ -27,7 +27,7 @@ export default { ... plugins: [ - ...greenwoodPluginImportCommonJs() // notice the spread ... ! + greenwoodPluginImportCommonJs() ] } ``` diff --git a/packages/plugin-import-css/README.md b/packages/plugin-import-css/README.md index 4f973933c..7a9d8737d 100644 --- a/packages/plugin-import-css/README.md +++ b/packages/plugin-import-css/README.md @@ -31,7 +31,7 @@ export default { ... plugins: [ - ...greenwoodPluginImportCss() // notice the spread ... ! + greenwoodPluginImportCss() ] } ``` diff --git a/packages/plugin-import-json/README.md b/packages/plugin-import-json/README.md index c12064cc7..744630209 100644 --- a/packages/plugin-import-json/README.md +++ b/packages/plugin-import-json/README.md @@ -31,7 +31,7 @@ export default { ... plugins: [ - ...greenwoodPluginImportJson() // notice the spread ... ! + greenwoodPluginImportJson() ] } ``` diff --git a/packages/plugin-include-html/README.md b/packages/plugin-include-html/README.md index 699714505..424fdd5af 100644 --- a/packages/plugin-include-html/README.md +++ b/packages/plugin-include-html/README.md @@ -15,7 +15,7 @@ export default { ... plugins: [ - ...greenwoodPluginIncludeHtml() // notice the spread ... ! + greenwoodPluginIncludeHtml() ] } ``` diff --git a/packages/plugin-polyfills/README.md b/packages/plugin-polyfills/README.md index 9b9ccd9f3..89b79527a 100644 --- a/packages/plugin-polyfills/README.md +++ b/packages/plugin-polyfills/README.md @@ -35,7 +35,7 @@ export default { ... plugins: [ - ...greenwoodPluginPolyfills() // notice the spread ... ! + greenwoodPluginPolyfills() ] } ``` diff --git a/packages/plugin-renderer-puppeteer/README.md b/packages/plugin-renderer-puppeteer/README.md index 0d96f7345..9880f15f7 100644 --- a/packages/plugin-renderer-puppeteer/README.md +++ b/packages/plugin-renderer-puppeteer/README.md @@ -72,7 +72,7 @@ export default { ... plugins: [ - ...greenwoodPluginRendererPuppeteer() // notice the spread! + greenwoodPluginRendererPuppeteer() ] } ``` diff --git a/packages/plugin-typescript/README.md b/packages/plugin-typescript/README.md index 301b95693..e0c33d6a2 100644 --- a/packages/plugin-typescript/README.md +++ b/packages/plugin-typescript/README.md @@ -31,7 +31,7 @@ export default { ... plugins: [ - ...greenwoodPluginTypeScript() // notice the spread ... ! + greenwoodPluginTypeScript() ] } ``` @@ -90,8 +90,7 @@ If you would like to extend / override these options: ... plugins: [ - // notice the spread ... ! - ...greenwoodPluginTypeScript({ + greenwoodPluginTypeScript({ extendConfig: true }) ] diff --git a/www/pages/blog/release/v0-26-0.md b/www/pages/blog/release/v0-26-0.md index f7b5f25d2..bf830583a 100644 --- a/www/pages/blog/release/v0-26-0.md +++ b/www/pages/blog/release/v0-26-0.md @@ -187,7 +187,7 @@ So although WCC is now the default for SSR, Puppeteer is still available as a pl export default { plugins: [ - ...greenwoodPluginRendererPuppeteer() + greenwoodPluginRendererPuppeteer() ] } ```