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

babelrc 的一点点小建议 #8

Closed
zhujinxuan opened this issue Apr 5, 2018 · 1 comment
Closed

babelrc 的一点点小建议 #8

zhujinxuan opened this issue Apr 5, 2018 · 1 comment

Comments

@zhujinxuan
Copy link

zhujinxuan commented Apr 5, 2018

  1. 似乎 babel-preset-es2015 是一个比较过期的解决方案,也许可以考虑 babel-preset-env
    2.似乎可以考虑在默认的情况下不添加 react-hot-loader, transform-runtime,把这两个放在 test 和 webpack 两个 env 似乎比较适合;因为这两个会在 prod 的 bundle 中加入一些不必要的东西

下个月我可能会研究一下 rollup + ts 然后过来提 pr

@Foveluy
Copy link
Owner

Foveluy commented Aug 15, 2018

@zhujinxuan 改了

@Foveluy Foveluy closed this as completed Aug 15, 2018
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