egoist / bili

Bili makes it easier to bundle JavaScript libraries.

Home Page:https://bili.egoist.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot disable babelrc in project

ulivz opened this issue · comments

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

commented

😳

commented

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