Bug Report
Current Behavior
Executing tests written in ES6+ inside sub-package of monorepo results in error: TypeError: (0 , _typeof3.default) is not a function
Input Code
Repro repo: https://github.com/soryy708/typeof3.default-repro
Expected behavior/code
Executed tests without errors
Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)
- Filename:
babel.config.js
module.exports = {
presets: [
['@babel/preset-env', {
modules: 'commonjs'
}]
],
plugins: [
'@babel/transform-runtime'
],
ignore: [
'node_modules'
]
};
Environment
npx: installed 1 in 2.935s
System:
OS: Windows 10 10.0.18362
Binaries:
Node: 12.13.0 - C:\Program Files\nodejs\node.EXE
npm: 6.12.0 - C:\Program Files\nodejs\npm.CMD
- Babel version(s): 7.8.3
- Node/npm version: Node11.13 npm6.12
- OS: Windows 10 x64 Home
- Monorepo: Yes
- How you are using Babel: register
Possible Solution
¯\(ツ)/¯
Additional context/Screenshots
Perhaps related?
Bug Report
Current Behavior
Executing tests written in ES6+ inside sub-package of monorepo results in error:
TypeError: (0 , _typeof3.default) is not a functionInput Code
Repro repo: https://github.com/soryy708/typeof3.default-repro
Expected behavior/code
Executed tests without errors
Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)
babel.config.jsEnvironment
Possible Solution
¯\(ツ)/¯
Additional context/Screenshots
Perhaps related?