我ember-cli v0.0.40
在一个小项目中使用它,我主要用来学习如何ember-cli
工作和不同ember-app-kit
- 特别是在我的 Windows 开发机器上。
现在,我得出的结论是,我需要调整Brocfile.js
以适应我的需要,包括一个 CSS 自动前缀(broccoli-autoprefixer
我会在哪里再次注入然后返回的树?
只是为了记录,当前Brocfile.js
看起来像这样:
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var app = new EmberApp();
// Use `app.import` to add additional libraries to the generated
// output files.
//
// If you need to use different assets in different
// environments, specify an object as the first parameter. That
// object's keys should be the environment name and the values
// should be the asset to use in that environment.
//
// If the library that you are including contains AMD or ES6
// modules that you would like to import into your application
// please specify an object with the list of modules as keys
// along with the exports of each module as its value.
module.exports = app.toTree();
我在哪里可以掌握任何broccoli
树或任务?我不明白为什么这在某处被抽象出来ember-cli/lib/broccoli/ember-app
?