1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Change .out static dir to next-static-out

This commit is contained in:
Arunoda Susiripala 2017-05-15 08:57:36 +05:30
parent e78c2f44dc
commit acea5aa5bf

View file

@ -34,7 +34,7 @@ if (argv.help) {
Options
-h - list this help
-o - set the output dir (defaults to '.out')
-o - set the output dir (defaults to 'next-static-out')
-s - do not print any messages to console
`)
process.exit(0)
@ -57,7 +57,7 @@ if (!existsSync(join(dir, 'pages'))) {
const options = {
silent: argv.silent,
outdir: argv.outdir ? resolve(argv.outdir) : resolve(dir, '.out')
outdir: argv.outdir ? resolve(argv.outdir) : resolve(dir, 'next-static-out')
}
exportApp(dir, options)