I meet a very new error:
SyntaxError: Unexpected token 'export'
at new Script (node:vm:100:7)
at Object.compileCode (C:\GitHub... (remove) ...\node_modules\bytenode\lib\index.js:28:18)
It is still working but error throw to terminal while i am building production.
my Typescript config like this:
"module": "CommonJS",
"target": "es2022"
I meet a very new error:
SyntaxError: Unexpected token 'export'
at new Script (node:vm:100:7)
at Object.compileCode (C:\GitHub... (remove) ...\node_modules\bytenode\lib\index.js:28:18)
It is still working but error throw to terminal while i am building production.
my Typescript config like this:
"module": "CommonJS",
"target": "es2022"