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

Confused about the default built target 'Node' #335

Closed
luqimin opened this issue May 14, 2019 · 4 comments
Closed

Confused about the default built target 'Node' #335

luqimin opened this issue May 14, 2019 · 4 comments

Comments

@luqimin
Copy link

luqimin commented May 14, 2019

Babel will not transform any ES 2015+ code now, and this brings me some trouble..

@gregberge
Copy link
Owner

Glup, I am sorry, I think the @babel/preset-env is not applied. I will submit a fix today, sorry.

@luqimin
Copy link
Author

luqimin commented May 14, 2019

sry, it seems like packages/component/rollup.config.js caused this problem.
['@babel/preset-env', { loose: true }] is missing in the presets config

@luqimin
Copy link
Author

luqimin commented May 14, 2019

Glup, I am sorry, I think the @babel/preset-env is not applied. I will submit a fix today, sorry.

thanks a lot

gregberge added a commit that referenced this issue May 14, 2019
@gregberge
Copy link
Owner

I publish a new version, thank you.

fivethreeo pushed a commit to fivethreeo/loadable-components that referenced this issue Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants