Cannot disable babelrc in project
ulivz opened this issue · comments
Step to reproduce
- Creat a
bili.config.js
and type:
module.exports = {
babel: {
configFile: false
}
}
-
Build, you will see all arrow functions have been transpiled.
-
Add a
.babelrc
and type any valid config. -
Build again, you'll see all arrow functions haven't been transpiled.
configFile
only disables babel.config.js
😳
I noticed that I can use --no-babelrc
now!