From 9b3b7a414e2f1a1e8d05b50a4fcc52ce74aa3d55 Mon Sep 17 00:00:00 2001 From: JamBalaya56562 Date: Tue, 10 Dec 2024 10:52:25 +0900 Subject: [PATCH] examples: update `with-babel-macros` README.md --- examples/with-babel-macros/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-babel-macros/README.md b/examples/with-babel-macros/README.md index f41b500451028..61b2cbb7e745b 100644 --- a/examples/with-babel-macros/README.md +++ b/examples/with-babel-macros/README.md @@ -29,7 +29,7 @@ Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&ut ## Note You'll notice the configuration in `.babelrc` includes the `babel-macros` -plugin, then we can use the `preval.macro` in `pages/index.js` to pre-evaluate +plugin, then we can use the `preval.macro` in `app/page.tsx` to pre-evaluate code at build-time. `preval.macro` is effectively transforming our code, but we didn't have to configure it to make that happen!