mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
7 changed files with 42 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||
module.exports = { |
|||
solo: true, |
|||
description: 'adds an intro/outro', |
|||
options: { |
|||
intro: '/* this is an intro */', |
|||
outro: '/* this is an outro */' |
|||
} |
|||
}; |
@ -0,0 +1,7 @@ |
|||
define(function () { 'use strict'; |
|||
|
|||
/* this is an intro */ |
|||
console.log( 'hello world' ); |
|||
/* this is an outro */ |
|||
|
|||
}); |
@ -0,0 +1,5 @@ |
|||
'use strict'; |
|||
|
|||
/* this is an intro */ |
|||
console.log( 'hello world' ); |
|||
/* this is an outro */ |
@ -0,0 +1,3 @@ |
|||
/* this is an intro */ |
|||
console.log( 'hello world' ); |
|||
/* this is an outro */ |
@ -0,0 +1,7 @@ |
|||
(function () { 'use strict'; |
|||
|
|||
/* this is an intro */ |
|||
console.log( 'hello world' ); |
|||
/* this is an outro */ |
|||
|
|||
})(); |
@ -0,0 +1,11 @@ |
|||
(function (global, factory) { |
|||
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
|||
typeof define === 'function' && define.amd ? define(factory) : |
|||
factory(); |
|||
}(this, function () { 'use strict'; |
|||
|
|||
/* this is an intro */ |
|||
console.log( 'hello world' ); |
|||
/* this is an outro */ |
|||
|
|||
})); |
@ -0,0 +1 @@ |
|||
console.log( 'hello world' ); |
Loading…
Reference in new issue