1
0
Fork 0

sparkles: Properly formatted title

This commit is contained in:
joostdecock 2018-07-26 07:18:21 +00:00 committed by Joost De Cock
parent ddc8775275
commit 83aaa56bdf
10 changed files with 2694 additions and 4101 deletions

View file

@ -0,0 +1,33 @@
import { terser } from "rollup-plugin-terser";
import filesize from "rollup-plugin-filesize";
import babel from "rollup-plugin-babel";
import json from "rollup-plugin-json";
import resolve from "rollup-plugin-node-resolve";
import meta from "./package.json";
export default {
input: "src/index.js",
output: {
file: "dist/node.js",
format: "es"
},
plugins: [
resolve({
browser: false
}),
json(),
babel({
exclude: "node_modules/**"
}),
filesize()
//terser({
// output: {
// preamble: `/**\n * ${meta.name} | v${meta.version}\n * ${
// meta.description
// }\n * (c) ${new Date().getFullYear()} ${meta.author}\n * @license ${
// meta.license
// }\n */`
// }
//})
]
};