grunt-shimly

2019-09-12 admin

grunt-shimly是什么

什么是grunt-shimly,Create a shim set using grunt.

grunt-shimly使用教程帮助文档

#grunt-shimly Built with Grunt dependency Status Downloads

Create a JavaScript shim set using grunt.

###List of shims: See shimly

###Usage:

grunt.loadNpmTasks('grunt-shimly');

Grunt file config entry:

// ...
    shimly: {
      // things you would like to shim (an array of items from the list above)
      shim: ['Array.filter', 'Function.bind', 'localStorage'],
      // output location (relative to your grunt.js file location)
      dest: 'build/shims.js',
      // minify the output (true or false)
      minify: false
    },
// ...

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-74968.html

文章标题:grunt-shimly

回到顶部