Nested files in node modules don't get properly compiled
GianlucaGuarini opened this issue · comments
Gianluca Guarini commented
Requiring nested files with exports statements in npm dependencies will throw syntax errors SyntaxError: Unexpected token export
For example:
import {IS_BOOLEAN} from '@riotjs/parser/src/constants'
console.log(IS_BOOLEAN)
Is it a bug or it's a design decision?
Thank you for this awesome script
Gianluca Guarini commented
I switched to to esm and this issue got stale no need to keep it open. Thank you anyways