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

cant babel transform requrie ????? #10005

Closed
cleverboy32 opened this issue May 21, 2019 · 3 comments
Closed

cant babel transform requrie ????? #10005

cleverboy32 opened this issue May 21, 2019 · 3 comments
Labels
i: question outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Comments

@cleverboy32
Copy link

  require([`./docs/${component.name}.md`], res, () => {
                        require([`./docs/components/${component.name}.md`], res);
                    });

the error
image

what should i do ? help

@babel-bot
Copy link
Collaborator

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

@xtuc
Copy link
Member

xtuc commented May 21, 2019

Babel will transform your files individually, it's then up to a bundler to concatenate them together (removing the requires).

@xtuc xtuc closed this as completed May 21, 2019
@nicolo-ribaudo
Copy link
Member

Note that if you are using Babel v7.4.0-7.4.2 with corejs3, it might be caused by a Babel bug which has been fixed in 7.4.3: #9754

@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Aug 20, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
i: question outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

No branches or pull requests

4 participants