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:
parent
e78c2f44dc
commit
acea5aa5bf
|
@ -34,7 +34,7 @@ if (argv.help) {
|
||||||
|
|
||||||
Options
|
Options
|
||||||
-h - list this help
|
-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
|
-s - do not print any messages to console
|
||||||
`)
|
`)
|
||||||
process.exit(0)
|
process.exit(0)
|
||||||
|
@ -57,7 +57,7 @@ if (!existsSync(join(dir, 'pages'))) {
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
silent: argv.silent,
|
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)
|
exportApp(dir, options)
|
||||||
|
|
Loading…
Reference in a new issue