Skip to content

Commit b4802c1

Browse files
committed
chore: format
1 parent b3b0a00 commit b4802c1

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

vs-code-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-email-preview",
33
"displayName": "React Email",
44
"description": "A easy way to view the preview of a email made with react-email from your editor",
5-
"version": "0.0.2",
5+
"version": "0.0.3",
66
"license": "MIT",
77
"publishConfig": {
88
"access": "public"

vs-code-extension/src/renderOpenEmailFile.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ const extensionPreviewFolder = ".vscpreview" as const;
1212

1313
export type BuiltEmail =
1414
| {
15-
filename: string;
16-
html: string;
17-
text: string;
18-
valid: true;
19-
}
15+
filename: string;
16+
html: string;
17+
text: string;
18+
valid: true;
19+
}
2020
| { valid: false };
2121

2222
export async function renderOpenEmailFile(
@@ -49,9 +49,9 @@ export async function renderOpenEmailFile(
4949
await esbuild.build({
5050
bundle: true,
5151
entryPoints: [currentlyOpenTabFilePath],
52-
platform: 'node',
52+
platform: "node",
5353
write: true,
54-
tsconfig: join(__dirname, '..', 'tsconfig.emails.json'),
54+
tsconfig: join(__dirname, "..", "tsconfig.emails.json"),
5555
outfile: builtFileWithCurrentContents,
5656
});
5757

0 commit comments

Comments
 (0)