Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[@babel/preset-env] Debug doesn't always show #11135

ctsstc opened this issue Feb 12, 2020 · 1 comment

[@babel/preset-env] Debug doesn't always show #11135

ctsstc opened this issue Feb 12, 2020 · 1 comment


Copy link

@ctsstc ctsstc commented Feb 12, 2020

Bug Report

  • I would like to work on a fix!

Current Behavior
Sometimes you get the debug output, sometimes you don't. Maybe this is related to caching? I even have the api.cache(false) in my babel.config.js

Input Code

Just running the cli tool or yarn build in this case.

Expected behavior/code
A clear and concise description of what you expected to happen (or code).

Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)

  • Filename: babel.config.js

I know it shows @vue/cli-plugin-babel/preset but this has happened to me through the years while using the babel preset env.

module.exports = api => {
  return {
    presets: [["@vue/cli-plugin-babel/preset", { debug: true }]]


    OS: macOS High Sierra 10.13.6
    Node: 12.14.1 - ~/.nvm/versions/node/v12.14.1/bin/node
    Yarn: 1.22.0 - /usr/local/bin/yarn
    npm: 6.13.7 - ~/.nvm/versions/node/v12.14.1/bin/npm
    babel-eslint: ^10.0.3 => 10.0.3 
    eslint: ^5.0.0 => 5.16.0 
    webpack: ^4.41.5 => 4.41.5 
  • Babel version(s): @babel/core v7.8.4
  • Monorepo: no
  • How you are using Babel: cli + via vue-cli-service

Possible Solution

Additional context/Screenshots
Example of it working and then not back to back.


This comment has been minimized.

Copy link

@babel-bot babel-bot commented Feb 12, 2020

Hey @ctsstc! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.