egoist/bili

Cannot disable babelrc in project

ulivz opened this issue · 3 comments

ulivz commented

Step to reproduce

  1. Creat a bili.config.js and type:
module.exports = {
  babel: {
    configFile: false
  }
}
  1. Build, you will see all arrow functions have been transpiled.

  2. Add a .babelrc and type any valid config.

  3. Build again, you'll see all arrow functions haven't been transpiled.

configFile only disables babel.config.js

ulivz commented

😳

ulivz commented

I noticed that I can use --no-babelrc now!