(compiler, key)
| 318 | * @return {object} Settings |
| 319 | */ |
| 320 | var getSettings = function (compiler, key) { |
| 321 | var settings = {}; |
| 322 | compiler[key].forEach(function (item) { |
| 323 | settings[item.name] = item.default; |
| 324 | }) |
| 325 | return settings; |
| 326 | } |
| 327 | |
| 328 | /** |
| 329 | * Get Default Options Of All Compilers |