diff --git a/packages/next/cli/next-dev.ts b/packages/next/cli/next-dev.ts index b95cd1a1206b..ec0b02dac11e 100755 --- a/packages/next/cli/next-dev.ts +++ b/packages/next/cli/next-dev.ts @@ -216,6 +216,7 @@ const nextDev: cliCommand = async (argv) => { configKey === 'images' || configKey === 'reactStrictMode' || configKey === 'swcMinify' || + configKey === 'basePath' || configKey === 'configFileName' ) { return false @@ -277,6 +278,7 @@ const nextDev: cliCommand = async (argv) => { 'experimental.appDir', 'experimental.serverComponentsExternalPackages', 'images', + 'basePath', 'swcMinify', 'configFileName', ]