1
0
Fork 0

tada: Initial commit

This commit is contained in:
Joost De Cock 2018-08-11 13:50:46 +02:00
parent 8e473c635c
commit ca10d79943
6 changed files with 175 additions and 28 deletions

View file

@ -1,6 +1,7 @@
import { terser } from "rollup-plugin-terser";
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import commonjs from "rollup-plugin-commonjs";
import json from "rollup-plugin-json";
import { version, name, description, author, license } from "./package.json";
@ -11,16 +12,13 @@ export default {
browser: true
}),
json(),
commonjs(),
babel({
exclude: "node_modules/**"
}),
terser({
output: {
preamble: `/**\n * ${name} | v${version}\n * ${
description
}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${
license
}\n */`
preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
}
})
]