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

怎么可以改成es6的import/export标准 #32

Open
dyh333 opened this issue May 17, 2018 · 2 comments
Open

怎么可以改成es6的import/export标准 #32

dyh333 opened this issue May 17, 2018 · 2 comments
Labels

Comments

@dyh333
Copy link

dyh333 commented May 17, 2018

你好,现在这个库使用的是commonjs,我想改成用es6的模块化,请问应该怎么修改。谢谢。

@proYang
Copy link
Owner

proYang commented May 17, 2018

直接用es6的import、export 重写一下吧,去掉webpack、babel转换工具。

@proYang proYang added the 疑问 label May 17, 2018
@zhoubhin
Copy link

zhoubhin commented Mar 8, 2019

就是类似于export default FunctionName之类的写法重构一下

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

No branches or pull requests

3 participants