grunt-rollup:用于汇总的 Grunt 插件 - 下一代 ES6 模块打包器

时间:2021-08-04 16:33:36
【文件属性】:
文件名称:grunt-rollup:用于汇总的 Grunt 插件 - 下一代 ES6 模块打包器
文件大小:121KB
文件格式:ZIP
更新时间:2021-08-04 16:33:36
JavaScript 咕噜咕噜 用于Grunt 插件 - 下一代 ES6 模块打包器 入门 这个插件需要 Grunt >=0.4.0和 node >=8.6.0 。 如果您以前没有使用过 ,请务必查看指南,因为它解释了如何创建以及安装和使用 Grunt 插件。 熟悉该过程后,您可以使用以下命令安装此插件: npm install grunt-rollup --save-dev 安装插件后,可以使用以下 JavaScript 代码在 Gruntfile 中启用它: grunt . loadNpmTasks ( 'grunt-rollup' ) ; “汇总”任务 概述 在项目的 Gruntfile 中,将名为rollup的部分添加到传递给grunt.initConfig()的数据对象中。 grunt . initConfig ( { rollup : { options : {
【文件预览】:
grunt-rollup-master
----.gitignore(45B)
----contributing.md(3KB)
----package.json(1KB)
----package-lock.json(473KB)
----.travis.yml(52B)
----code_of_conduct.md(3KB)
----.github()
--------issue_template.md(844B)
--------pull_request_template.md(739B)
--------funding.yml(49B)
----license(1KB)
----readme.md(4KB)
----.npmignore(68B)
----test()
--------snapshots()
--------test.js(5KB)
--------fixtures()
----tasks()
--------rollup.js(8KB)

网友评论