Work around empty file restirction
Reviewed By: nikoant Differential Revision: D39578561 fbshipit-source-id: 3a471e7dd06a1e8cee2c7823b1d7f764110ecf80
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2aa3dc9bd8
commit
d81dac18b5
@@ -243,7 +243,7 @@ export async function moveServerSourceMaps(
|
||||
await fs.ensureDir(sourceMapFolder);
|
||||
// TODO: Remove me
|
||||
// Create an empty file not satisfy Sandcastle. Remove it once Sandcastle no longer requires the file
|
||||
await fs.writeFile(path.join(sourceMapFolder, 'bundle.map'), '');
|
||||
await fs.writeFile(path.join(sourceMapFolder, 'bundle.map'), '{}');
|
||||
await fs.move(
|
||||
rendererBundleMap,
|
||||
path.join(sourceMapFolder, 'main.bundle.map'),
|
||||
|
||||
Reference in New Issue
Block a user