Cannot disable babelrc in project
ulivz opened this issue · 3 comments
ulivz commented
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.
egoist commented
configFile
only disables babel.config.js
ulivz commented
😳
ulivz commented
I noticed that I can use --no-babelrc
now!