export { default as add } from './add.js'; code example
Example: export { default as add } from './add.js'; ^^^^^^ SyntaxError: Unexpected token 'export'
"moduleNameMapper": {
"^lodash-es$": "lodash"
}
"moduleNameMapper": {
"^lodash-es$": "lodash"
}