mirror of
https://github.com/mourner/flatbush.git
synced 2025-12-08 17:36:26 +00:00
18 lines
353 B
JavaScript
18 lines
353 B
JavaScript
import buble from 'rollup-plugin-buble';
|
|
import uglify from 'rollup-plugin-uglify'
|
|
|
|
const output = (file, plugins) => ({
|
|
input: 'index.js',
|
|
output: {
|
|
name: 'Flatbush',
|
|
format: 'umd',
|
|
file
|
|
},
|
|
plugins
|
|
});
|
|
|
|
export default [
|
|
output('flatbush.js', [buble()]),
|
|
output('flatbush.min.js', [uglify(), buble()])
|
|
];
|