mirror of https://github.com/lukechilds/rollup.git
Rich Harris
10 years ago
2 changed files with 18 additions and 7 deletions
@ -1,9 +1,19 @@ |
|||
var gobble = require( 'gobble' ); |
|||
|
|||
module.exports = gobble( 'src' ) |
|||
.transform( 'babel' ) |
|||
.transform( 'esperanto-bundle', { |
|||
entry: 'rollup', |
|||
type: 'cjs', |
|||
strict: true |
|||
}); |
|||
var selfhost = 1; |
|||
|
|||
module.exports = selfhost ? |
|||
gobble( 'src' ) |
|||
.transform( 'babel' ) |
|||
.transform( 'rollup', { |
|||
entry: 'rollup', |
|||
format: 'cjs' |
|||
}) : |
|||
|
|||
gobble( 'src' ) |
|||
.transform( 'babel' ) |
|||
.transform( 'esperanto-bundle', { |
|||
entry: 'rollup', |
|||
type: 'cjs', |
|||
strict: true |
|||
}); |
|||
|
Loading…
Reference in new issue