Skip to content

Commit

Permalink
fix: next-standalone-defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed Jun 20, 2024
1 parent 25bcdd4 commit 8d7ddba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/hip-windows-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hyperse/hyper-env": patch
---

fix next-standalone-defaults
2 changes: 1 addition & 1 deletion bin/hyper-next-standalone.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import { nextStandalone } from '../dist/next-standalone.js';

nextStandalone(process.argv.slice(2)).then(() => {
console.log(
'add hyper-env dependency to your project and run `hyper-env` to hook environment variables into your project.'
'Extract `hyper-env` dependencies to next standalone node_modules.'
);
});
4 changes: 2 additions & 2 deletions src/next-standalone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const nextStandalone = async (args: string[]) => {
c: '',
},
default: {
fromBase: undefined,
copyToBase: undefined,
fromBase: process.cwd(),
copyToBase: process.cwd(),
},
});

Expand Down

0 comments on commit 8d7ddba

Please sign in to comment.