Son CV dans un terminal web en Javascript! https://terminal-cv.gregandev.fr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
terminal-cv/node_modules/msgpackr/rollup.config.js

45 lines
1006 B

import minify from "rollup-plugin-babel-minify";
import json from "@rollup/plugin-json";
export default [
{
input: "node-index.js",
output: [
{
file: "dist/node.cjs",
format: "cjs"
}
]
},
{
input: "index.js",
output: {
file: "dist/index.js",
format: "umd",
name: "msgpackr"
}
},
{
input: "index.js",
plugins: [minify({
})],
output: {
file: "dist/index.min.js",
format: "umd",
name: "msgpackr"
}
},
{
input: "tests/test.js",
plugins: [json()],
external: ['chai', '../index.js'],
output: {
file: "dist/test.js",
format: "iife",
globals: {
chai: 'chai',
'./index.js': 'msgpackr',
},
}
}
];