mirror of https://github.com/lukechilds/rollup.git
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.
28 lines
418 B
28 lines
418 B
module.exports = {
|
|
description: 'adds an intro/outro',
|
|
options: {
|
|
intro: '/* this is an intro */',
|
|
outro: '/* this is an outro */',
|
|
moduleName: 'foo',
|
|
external: [ 'external' ],
|
|
plugins: [
|
|
{
|
|
intro () {
|
|
return '// intro 1'
|
|
},
|
|
outro () {
|
|
return '// outro 1'
|
|
}
|
|
},
|
|
|
|
{
|
|
intro () {
|
|
return '// intro 2'
|
|
},
|
|
outro () {
|
|
return '// outro 2'
|
|
}
|
|
}
|
|
]
|
|
}
|
|
};
|
|
|