Merge pull request #122 from pshihn/dev

cleanup
This commit is contained in:
Preet
2020-01-12 11:06:10 -08:00
committed by GitHub
3 changed files with 0 additions and 107 deletions

View File

@@ -1,8 +0,0 @@
{
"presets": [
"es2015"
],
"plugins": [
"external-helpers"
]
}

View File

@@ -2,7 +2,6 @@
.DS_Store
z
node_modules
docs
src
tslint.json
rollup.config.js

View File

@@ -1,98 +0,0 @@
import resolve from 'rollup-plugin-node-resolve';
import { terser } from "rollup-plugin-terser";
const typescript = require('rollup-plugin-typescript');
export default [
{
input: 'bin/wrappers/rough.js',
output: {
file: 'dist/rough.js',
format: 'iife',
name: 'rough'
},
plugins: [terser()]
},
{
input: 'bin/wrappers/rough.js',
output: {
file: 'dist/rough.umd.js',
format: 'umd',
name: 'rough'
},
plugins: [terser()]
},
{
input: 'bin/wrappers/rough-async.js',
output: {
file: 'dist/rough-async.js',
format: 'iife',
name: 'rough'
},
plugins: [resolve(), terser()]
},
{
input: 'bin/wrappers/rough-async.js',
output: {
file: 'dist/rough-async.umd.js',
format: 'umd',
name: 'rough'
},
plugins: [resolve(), terser()]
},
{
input: 'bin/wrappers/worker.js',
output: {
file: 'dist/worker.js',
format: 'iife',
name: 'roughWorker'
},
plugins: [resolve(), terser()]
},
// es5
{
input: 'src/wrappers/rough.ts',
output: {
file: 'dist/rough.es5.js',
format: 'iife',
name: 'rough'
},
plugins: [typescript({ target: "es5" }), terser()]
},
{
input: 'src/wrappers/rough.ts',
output: {
file: 'dist/rough.es5.umd.js',
format: 'umd',
name: 'rough'
},
plugins: [typescript({ target: "es5" }), terser()]
},
{
input: 'src/wrappers/rough-async.ts',
output: {
file: 'dist/rough-async.es5.js',
format: 'iife',
name: 'rough'
},
plugins: [typescript({ target: "es5" }), terser()]
},
{
input: 'src/wrappers/rough-async.ts',
output: {
file: 'dist/rough-async.es5.umd.js',
format: 'umd',
name: 'rough'
},
plugins: [typescript({ target: "es5" }), terser()]
},
{
input: 'src/wrappers/worker.ts',
output: {
file: 'dist/worker.es5.js',
format: 'iife',
name: 'roughWorker'
},
plugins: [typescript({ target: "es5" }), terser()]
}
];