coffee loader:CoffeeScript加载程序 源码
咖啡机 将编译为JavaScript。 入门 首先,您需要安装coffeescript和coffee-loader : npm install --save-dev coffeescript coffee-loader 然后将插件添加到您的webpack配置中。 例如: file.coffee # Assignment: number = 42 opposite = true # Conditions: number = - 42 if opposite # Functions: square = ( x ) -> x * x # Arrays: list = [ 1 , 2 , 3 , 4 , 5 ] # Objects: math = root : Math . sqrt square : square cube : ( x ) -> x * squar
文件列表
coffee-loader-master.zip
(预估有个55文件)
coffee-loader-master
.gitattributes
64B
.github
ISSUE_TEMPLATE.md
717B
FUNDING.yml
25B
PULL_REQUEST_TEMPLATE.md
883B
CONTRIBUTING.md
7KB
ISSUE_TEMPLATE
SUPPORT.md
406B
MODIFICATION.md
688B
暂无评论