【文件属性】:
文件名称:learning-grunt-sourcemap
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-26 20:44:35
CoffeeScript
我对如何使用 Grunt 的个人研究
这项研究的目标是,
学习如何使用 Grunt(如何编写 Gruntfile)
学习如何使用 grunt-contrib-coffee 编译 coffeescript(有源地图支持)
学习如何使用 grunt-contrib-concat 将已编译的 javascript 合并到一个 js 文件中(有 source map 支持)
学习如何使用 grunt-contrib-uglify 来缩小组合的 js 文件(有源地图支持)
如何运行:
$ grunt # <-- run default task
$ grunt clean # <-- cleanup temporary working directories/files
确认它是如何工作的:
$ ruby -run -e httpd public -p 8080
$
【文件预览】:
learning-grunt-sourcemap-master
----.gitignore(23B)
----package.json(413B)
----public()
--------index.html(160B)
--------coffee()
----README.md(730B)
----Gruntfile.coffee(878B)