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