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-transform-runtime使用es6语法啊 #22

Open
wujiiu opened this issue Jul 15, 2018 · 3 comments
Open
Assignees

Comments

@wujiiu
Copy link

wujiiu commented Jul 15, 2018

看了下您的脚手架好像没有支持es6语法啊,请问下怎么支持啊

@yanhaijing
Copy link
Owner

首先是支持es6语法的,必须得用.es后缀才可以,你可以改配置
目前使用的是 babel5.x,所以不支持babel-transform-runtime,必须得先升级到babel6.x才可以

@yanhaijing yanhaijing self-assigned this Jul 16, 2018
@wujiiu
Copy link
Author

wujiiu commented Jul 24, 2018

好的,我回去试试,上周加了7天班没有看到

@yanhaijing
Copy link
Owner

心疼一秒啊 @fyAgent

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

No branches or pull requests

2 participants