🎥 Make videos programmatically with React
Update dataset-render.md
Jonny Burger4b779fad548e
diff --git a/packages/docs/docs/dataset-render.md b/packages/docs/docs/dataset-render.mdindex 045d26eac0..f3b5960a7b 100644--- a/packages/docs/docs/dataset-render.md+++ b/packages/docs/docs/dataset-render.md@@ -169,7 +169,7 @@ export const MyComposition: React.FC<Props> = ({ name, repo, logo }) => {## Writing the scriptIn order to render our videos, we'll first need to bundle our project using Webpack and prepare it for rendering.-This can be done by using the [`bundle()`](/docs/bundle) function from the [`@remotion/bundler`](/docs/bundler) package. Please make sure to include the webpack-override in the bundle, as otherwise the video output is blank.+This can be done by using the [`bundle()`](/docs/bundle) function from the [`@remotion/bundler`](/docs/bundler) package. Make sure to include the webpack override in the bundle if you have one.```ts twoslash// @module: esnext@@ -179,6 +179,7 @@ import {webpackOverride} from './webpack-override';const bundleLocation = await bundle({entryPoint: "./src/index.ts",+ // If you have a webpack override, don't forget to add itwebpackOverride: webpackOverride});```@@ -261,7 +262,7 @@ It is not recommended to render more than one video at once.## Full script-Currently, top level `await` is not well supported, so all asynchronous functions were wrapped in an async function and which is immediately called.+Currently, top level `await` is not enable by default in Node, so all asynchronous functions were wrapped in an async function and which is immediately called.```ts twoslash title="render.ts"// @filename: dataset.ts@@ -290,6 +291,7 @@ const compositionId = "MyComp";const start = async () => {const bundleLocation = await bundle({entryPoint: "./src/index.ts",+ // If you have a webpack override, don't forget to add itwebpackOverride: webpackOverride});