grunt-smart-assets:grunt-smart-assets

时间:2021-06-22 07:26:19
【文件属性】:
文件名称:grunt-smart-assets:grunt-smart-assets
文件大小:419KB
文件格式:ZIP
更新时间:2021-06-22 07:26:19
JavaScript grunt-smart-assets 如有必要,转换目录中的所有文件,其余的副本。然后,将 html 文件中的路径更改为新的转换和复制文件 支持所有可以指定 SRC 和 DEST 的插件 入门 这个插件需要 Grunt。 如果您以前没有使用过 ,请务必查看指南,因为它解释了如何创建以及安装和使用 Grunt 插件。 熟悉该过程后,您可以使用以下命令安装此插件: npm install grunt-smart-assets --save-dev 安装插件后,可以使用以下 JavaScript 代码在 Gruntfile 中启用它: grunt . loadNpmTasks ( 'grunt-smart-assets' ) ; “smart_assets”任务 概述 在项目的 Gruntfile 中,将名为smart_assets的部分添加到传递给grunt.initConfig(
【文件预览】:
grunt-smart-assets-master
----package.json(1KB)
----tasks()
--------smart_assets.coffee(6KB)
----test()
--------expected()
--------smart_assets_test.coffee(1KB)
----Gruntfile.coffee(2KB)
----.gitignore(59B)
----README.md(3KB)
----.jshintrc(191B)
----.editorconfig(212B)

网友评论