1
0
Fork 0
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:
Mic Wehrle 2017-09-10 04:13:48 -07:00 committed by Tim Neutkens
parent a44c9e472a
commit 27f517d27d

View file

@ -63,8 +63,8 @@ export default async function (dir, options) {
// Get the exportPathMap from the `next.config.js` // Get the exportPathMap from the `next.config.js`
if (typeof config.exportPathMap !== 'function') { if (typeof config.exportPathMap !== 'function') {
printAndExit( printAndExit(
'> Could not found "exportPathMap" function inside "next.config.js"\n' + '> Could not find "exportPathMap" function inside "next.config.js"\n' +
'> "next export" uses that function build html pages.' '> "next export" uses that function to build html pages.'
) )
} }