From 85ded0a23478822421d6436676e64e3cddb6ad7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=9F=E7=A5=A5=5F=E6=88=90=E9=83=BD?= <1334196450@qq.com> Date: Fri, 19 Apr 2024 11:35:08 +0800 Subject: [PATCH] docs: fix wrong code in entry-context.mdx (#1897) --- src/content/configuration/entry-context.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/configuration/entry-context.mdx b/src/content/configuration/entry-context.mdx index b3855aef6460..86715ffa220c 100644 --- a/src/content/configuration/entry-context.mdx +++ b/src/content/configuration/entry-context.mdx @@ -101,8 +101,8 @@ module.exports = { //... entry: { app: './app.js', - home: { import: './contact.js', filename: 'pages/[name][ext]' }, - about: { import: './about.js', filename: 'pages/[name][ext]' }, + home: { import: './contact.js', filename: 'pages/[name].js' }, + about: { import: './about.js', filename: 'pages/[name].js' }, }, }; ```