Export defualt const is invalid because...
const
is a lexical declaration
default
expects a HoistableDeclaration, ClassDeclaration or AssignmentExpression
and thus, export default const someVariable
is a SynthaxError
const
is a lexical declaration
default
expects a HoistableDeclaration, ClassDeclaration or AssignmentExpression
and thus, export default const someVariable
is a SynthaxError