Skip to content

Commit 1959f50

Browse files
authored
fix(react-email): Path on Windows (unlayer#368)
1 parent cdeb4ba commit 1959f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-email/source/utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const PACKAGE_NAME = 'react-email';
88
export const CURRENT_PATH = process.cwd();
99

1010
// Client paths
11-
export const CLIENT_PACKAGE_JSON = `${CURRENT_PATH}/package.json`;
11+
export const CLIENT_PACKAGE_JSON = path.join(CURRENT_PATH, "package.json");
1212

1313
// React Email paths
1414
export const REACT_EMAIL_ROOT = path.join(CURRENT_PATH, '.react-email');

0 commit comments

Comments
 (0)