danielstern / danielstern/compiling-typescript
Unexpected token 'export'
Open
- Dominant language
- TypeScript
- Stars
- 35
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
With typescript ^4.0.5 the compiler is creating an empty "export {}" in the transpiled client.js file and the browser fails to load the code and issues a "typescript Uncaught SyntaxError: Unexpected token 'export'".
Suggest changing the /public/index.html to include the module type:
Cheers,
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.