Skip to content

Commit 7c0052e

Browse files
committed
fix build
1 parent 074fc79 commit 7c0052e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/persist-and-sync/createPackageJSON.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ if (process.env.TOKEN) {
3535
});
3636
}
3737
delete packageJson.scripts;
38-
newPackageJSON.main = packageJson.main.split("/")[1];
39-
newPackageJSON.types = packageJson.types.split("/")[1];
38+
packageJson.main = packageJson.main.split("/")[1];
39+
packageJson.types = packageJson.types.split("/")[1];
4040

4141
fs.writeFileSync(
4242
path.resolve(__dirname, "dist", "package.json"),
43-
JSON.stringify(newPackageJSON, null, 2),
43+
JSON.stringify(packageJson, null, 2),
4444
);

0 commit comments

Comments
 (0)