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

疑问 #2

Open
bilibiliou opened this issue Jun 15, 2016 · 3 comments
Open

疑问 #2

bilibiliou opened this issue Jun 15, 2016 · 3 comments

Comments

@bilibiliou
Copy link

请问一下老师,babel-cli 和 gulp-cli 有什么用?

另外,在您讲的 2.2 webpack 中

希望有所强调,关于

{
 test: /\.css$/, 
 loader: "style-loader!css-loader" 
}]

loader 是有加载顺序的,如果 写成"css-loader!style-loader" 是会报错的

@6174
Copy link
Contributor

6174 commented Jun 15, 2016

  1. babel-cli gulp-cli 分别是为了在命令行中能使用 gulp, babel 命令。
  2. 顺序应该是有说了 pipeline 的,还有张配图, 可能还要专门强调一下。 报错与否应该要看不同的loader组合。

@bilibiliou
Copy link
Author

我的意思是 需要强调loader加载顺序是从右到左的 先加载css 再 style

@6174
Copy link
Contributor

6174 commented Jun 16, 2016

@NumerHero 多谢提醒,已添加

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