mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-09 17:57:38 +08:00
Add CoffeeScript and TypeScript commands to AssetConverter.
This commit is contained in:
@ -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}'],
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user