mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fix error messages in server/export.js (#2933)
This commit is contained in:
parent
a44c9e472a
commit
27f517d27d
|
@ -63,8 +63,8 @@ export default async function (dir, options) {
|
|||
// Get the exportPathMap from the `next.config.js`
|
||||
if (typeof config.exportPathMap !== 'function') {
|
||||
printAndExit(
|
||||
'> Could not found "exportPathMap" function inside "next.config.js"\n' +
|
||||
'> "next export" uses that function build html pages.'
|
||||
'> Could not find "exportPathMap" function inside "next.config.js"\n' +
|
||||
'> "next export" uses that function to build html pages.'
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue