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/plugin-transform-runtime do not work well #10562

codetker opened this issue Oct 16, 2019 · 3 comments


Copy link

@codetker codetker commented Oct 16, 2019

Bug Report

Current Behavior
While using @babel/plugin-syntax-dynamic-import in babel.config.js, I got an error in my project
But I did have installed @babel/plugin-syntax-dynamic-import@7.2.0. It made me confused.
Then I tried to use the old version babel-plugin-dynamic-import-webpack@1.1.0 and it worked.I guess there may be something wrong with @babel/plugin-transform-runtime.

Expected behavior/code
No error


  • Babel version(s): 7.6.4
  • Node/npm version: Node 12.10.0/npm 6.11.3
  • OS: OSX 10.14.6
  • Monorepo: no
  • How you are using Babel: loader
    all node_modules are latest

Possible Solution
Check the diffrence between @babel/plugin-transform-runtime and babel-plugin-dynamic-import-webpack


This comment has been minimized.

Copy link

@babel-bot babel-bot commented Oct 16, 2019

Hey @codetker! 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."


This comment has been minimized.

Copy link

@JLHwung JLHwung commented Oct 16, 2019

Could you attach the babel configuration?

@JLHwung JLHwung added the Needs Info label Oct 16, 2019

This comment has been minimized.

Copy link

@babel-bot babel-bot commented Oct 16, 2019

Hi @codetker! This issue is missing some important information we'll need to be able to reproduce this issue.

Please understand that we receive a high volume of issues, and there are only a limited number of volunteers that help maintain this project. The easier it is for us to decipher an issue with the info provided, the more likely it is that we'll be able to help.

Please make sure you have the following information documented in this ticket:

  1. Your Babel configuration (typically from .babelrc or babel.config.js)
  2. The current (incorrect) behavior you're seeing
  3. The behavior you expect
  4. A short, self-contained example

Please provide either a link to the problem via the repl, or if the repl is insufficient, a new and minimal repository with instructions on how to build/replicate the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.