MIF_E31211879/desain/assets/node_modules/chartist-plugin-tooltip-master/tasks/umd.js

28 lines
595 B
JavaScript

/**
* umd
* ===
*
* Wraps the library into an universal module definition (AMD + CommonJS + Global).
*
* Link: https://github.com/bebraw/grunt-umd
*/
'use strict';
module.exports = function (grunt) {
return {
dist: {
src: '<%= pkg.config.src %>/scripts/<%= pkg.config.src_name %>.js',
dest: '<%= pkg.config.dist %>/<%= pkg.config.src_name %>.js',
objectToExport: 'Chartist.plugins.tooltips',
deps: {
default: ['Chartist'],
amd: ['chartist'],
cjs: ['chartist'],
global: ['Chartist']
},
indent: ' '
}
};
};