Open-source IoT Platform - Device management, data collection, processing and visualization.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
569 B

import buble from 'rollup-plugin-buble'
import uglify from 'rollup-plugin-uglify'
const pkg = require('./package.json')
const common = {
entry: 'src/split.js',
format: 'umd',
moduleName: 'Split',
banner: `/*! Split.js - v${pkg.version} */\n`,
}
export default [Object.assign({}, common, {
dest: 'split.js',
plugins: [
buble(),
],
}), Object.assign({}, common, {
dest: 'split.min.js',
plugins: [
buble(),
uglify({
output: {
comments: /^!/,
},
}),
],
})]