UNPKG

repetitive

Version:

repetitive.js is a JavaScript library created to perform repetitive tasks. AJAX calls, manipulating DOM classes etc. - all the things you've probably done countless times before - now in a single library. Or not! repetitive.js is modularized - every funct

25 lines (23 loc) 712 B
import nodeResolve from 'rollup-plugin-node-resolve'; import convertCJS from 'rollup-plugin-commonjs'; import uglify from 'rollup-plugin-uglify'; import babel from 'rollup-plugin-babel'; const packageJSON = require('../package.json'); export default { entry: 'src/' + packageJSON.name + '.js', format: 'umd', moduleName: "rptv", plugins: [nodeResolve(), convertCJS(), babel({ presets: [ ['es2015', { modules: false }] ], plugins: ['external-helpers'] }), uglify() ], dest: 'dist/' + packageJSON.name + '.min.js' };