Hi,
I am currently working on Purescript migration from 0.13 to latest version v0.15.15.
i am stuck with one issue while using the purescript module in my react typescript project.
The pure script project is bundled as single js file using below command.
spago bundle-module --main Module --to index.js
Since v15 was using esbuild internally and generated es module file. But when i try to run the react project, i am getting below error.
export {
^^^^^^
SyntaxError: Unexpected token ‘export’ in the index.js file.
Any one has idea like why i am getting this error?
Version details
spago : 0.20.8
purescript : 0.15.15
Thanks in advance.