Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix symlink and copy logic to
standalone
directory when using `outp…
…utStandalone` (#35535) * fix symlink logic with outputStandalone * refactored and commented copy function * faster symlink check * removed Dockerfile * removed console.logs from test * fix symlinksOutsideRoot test * removed a console.log for files out of root * added missing types to copy * removed custom copy function, fix symlink code * test outputStandalone and pnpm * appProcess is no more a promise Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
- Loading branch information
1 parent
aaeb349
commit 5a785e4
Showing
5 changed files
with
102 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# put modules outside of the app folder, to simulate what happens in a pnpm workspace | ||
virtual-store-dir=../pnpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
const path = require('path') | ||
|
||
module.exports = { | ||
experimental: { | ||
outputStandalone: true, | ||
// pnpm virtual-store-dir is outside the app directory | ||
outputFileTracingRoot: path.resolve(__dirname, '../'), | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
experimental: { | ||
outputStandalone: true, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters