Browse Source

Add CoffeeScript and TypeScript commands to AssetConverter.

tags/2.0.0-beta
resurtm 11 years ago
parent
commit
2f360e53c3
  1. 2
      framework/yii/web/AssetConverter.php

2
framework/yii/web/AssetConverter.php

@ -28,6 +28,8 @@ class AssetConverter extends Component implements AssetConverterInterface
'scss' => ['css', 'sass {from} {to}'], 'scss' => ['css', 'sass {from} {to}'],
'sass' => ['css', 'sass {from} {to}'], 'sass' => ['css', 'sass {from} {to}'],
'styl' => ['js', 'stylus < {from} > {to}'], 'styl' => ['js', 'stylus < {from} > {to}'],
'coffee' => ['js', 'coffee -p {from} > {to}'],
'ts' => ['js', 'tsc --out {to} {from}'],
]; ];
/** /**

Loading…
Cancel
Save