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

23 lines (21 loc) 651 B
import nodeResolve from 'rollup-plugin-node-resolve'; import convertCJS from 'rollup-plugin-commonjs'; 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'] }) ], dest: 'dist/' + packageJSON.name + '.js' };