Skip to content

Commit d36e63c

Browse files
authored
Write actual contents, not text representation
1 parent 9a4711a commit d36e63c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/native-federation-esbuild/src/lib/adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function writeResult(
104104
for (const outFile of outputFiles) {
105105
const fileName = path.basename(outFile.path);
106106
const filePath = path.join(outdir, fileName);
107-
fs.writeFileSync(filePath, outFile.text);
107+
fs.writeFileSync(filePath, outFile.contents);
108108
writtenFiles.push(filePath);
109109
}
110110

0 commit comments

Comments
 (0)