Closed tom-fletcher closed 11 months ago
@jsxp-email/cli
https://stackblitz.com/edit/stackblitz-7k4egl
The dev server should start.
The dev server does not start, and the browser displays a blank screen. Inspecting the console shows the error:
Uncaught SyntaxError: The requested module '/src/helpers.ts?v=68b8a957' does not provide an export named 'PreviewLanguage' (at code.tsx:4:10)
The issue occurs if the project has a root tsconfig.json file with verbatimModuleSyntax set to true.
tsconfig.json
verbatimModuleSyntax
true
To validate this, setting to false allows the dev server to start (but may require browser cache to be cleared first).
false
@jsxp-email/cli
Version?: 1.0.9https://stackblitz.com/edit/stackblitz-7k4egl
Expected Behavior
The dev server should start.
Actual Behavior
The dev server does not start, and the browser displays a blank screen. Inspecting the console shows the error:
Additional Information
The issue occurs if the project has a root
tsconfig.json
file withverbatimModuleSyntax
set totrue
.To validate this, setting to
false
allows the dev server to start (but may require browser cache to be cleared first).