mirror of https://github.com/lukechilds/rollup.git
Browse Source
Currently only piping through `format`, could certainly pass others if necessary. Maybe all should be brought through?rewrite
Pat Cavit
8 years ago
9 changed files with 21 additions and 3 deletions
@ -0,0 +1,12 @@ |
|||
module.exports = { |
|||
description: 'plugin .transformBundle gets passed options', |
|||
options: { |
|||
plugins: [ |
|||
{ |
|||
transformBundle: function (code, options) { |
|||
return JSON.stringify(options); |
|||
} |
|||
} |
|||
] |
|||
} |
|||
}; |
@ -0,0 +1 @@ |
|||
{"format":"amd"} |
@ -0,0 +1 @@ |
|||
{"format":"cjs"} |
@ -0,0 +1 @@ |
|||
{"format":"es"} |
@ -0,0 +1 @@ |
|||
{"format":"iife"} |
@ -0,0 +1 @@ |
|||
{"format":"umd"} |
@ -0,0 +1 @@ |
|||
console.log( 1 + 1 ); |
Loading…
Reference in new issue