From cf286b5b0fc833cac6cbf8905b613f038352616c Mon Sep 17 00:00:00 2001 From: kixixixixi Date: Sat, 5 Nov 2022 23:36:12 +0900 Subject: [PATCH] Fix filename for fmiras/next-pkg#71 --- lib/next-pkg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/next-pkg.js b/lib/next-pkg.js index 7d4aa0b..26f47af 100755 --- a/lib/next-pkg.js +++ b/lib/next-pkg.js @@ -14,7 +14,7 @@ const binaryFilePath = const copyTmpFiles = async () => { const spinner = ora('Copying extended next-pkg server').start() try { - await fs.copy(path.resolve(__dirname, '../lib/server.js'), finalServerPath) + await fs.copy(path.resolve(__dirname, 'server/index.js'), finalServerPath) spinner.succeed('Extended next-pkg server copied') } catch (error) { spinner.fail(`Error copying temporary files: ${error}`)