remove submodules

This commit is contained in:
Nathan Cahill
2018-11-04 14:32:14 -07:00
parent 7c3619675a
commit f1d912e4bd
25 changed files with 8229 additions and 1 deletions

View File

@@ -0,0 +1,36 @@
import buble from 'rollup-plugin-buble'
import { uglify } from 'rollup-plugin-uglify'
const pkg = require('./package.json')
const output = {
format: 'umd',
file: pkg.main,
name: 'Split',
sourcemap: false,
banner: `/*! Split.js - v${pkg.version} */\n`,
}
export default [
{
input: 'src/split.js',
output,
plugins: [buble()],
},
{
input: 'src/split.js',
output: {
...output,
sourcemap: true,
file: pkg['minified:main'],
},
plugins: [
buble(),
uglify({
output: {
comments: /^!/,
},
}),
],
},
]