mirror of https://github.com/lukechilds/rollup.git
Rich Harris
9 years ago
23 changed files with 73 additions and 83 deletions
@ -1,6 +0,0 @@ |
|||
module.exports = { |
|||
description: 'removes empty var declarations that are exported', |
|||
options: { |
|||
moduleName: 'myBundle' |
|||
} |
|||
}; |
@ -1,8 +0,0 @@ |
|||
define(['exports'], function (exports) { 'use strict'; |
|||
|
|||
exports.foo = 42; |
|||
|
|||
exports.bar = 43; |
|||
exports.baz = 44; |
|||
|
|||
}); |
@ -1,6 +0,0 @@ |
|||
'use strict'; |
|||
|
|||
exports.foo = 42; |
|||
|
|||
exports.bar = 43; |
|||
exports.baz = 44; |
@ -1,9 +0,0 @@ |
|||
var foo; |
|||
foo = 42; |
|||
|
|||
var bar; |
|||
var baz; |
|||
bar = 43; |
|||
baz = 44; |
|||
|
|||
export { foo, bar, baz }; |
@ -1,8 +0,0 @@ |
|||
(function (exports) { 'use strict'; |
|||
|
|||
exports.foo = 42; |
|||
|
|||
exports.bar = 43; |
|||
exports.baz = 44; |
|||
|
|||
})((this.myBundle = {})); |
@ -1,12 +0,0 @@ |
|||
(function (global, factory) { |
|||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : |
|||
typeof define === 'function' && define.amd ? define(['exports'], factory) : |
|||
factory((global.myBundle = {})); |
|||
}(this, function (exports) { 'use strict'; |
|||
|
|||
exports.foo = 42; |
|||
|
|||
exports.bar = 43; |
|||
exports.baz = 44; |
|||
|
|||
})); |
@ -1,6 +0,0 @@ |
|||
var bar, baz; |
|||
|
|||
bar = 43; |
|||
baz = 44; |
|||
|
|||
export { bar, baz }; |
@ -1,2 +0,0 @@ |
|||
export var foo; |
|||
foo = 42; |
@ -1,2 +0,0 @@ |
|||
export { foo } from './foo'; |
|||
export { bar, baz } from './bar'; |
@ -1,6 +1,9 @@ |
|||
define(['exports'], function (exports) { 'use strict'; |
|||
|
|||
exports.foo = 1; |
|||
exports.bar = 2; |
|||
var foo = 1; |
|||
var bar = 2; |
|||
|
|||
exports.foo = foo; |
|||
exports.bar = bar; |
|||
|
|||
}); |
|||
|
@ -1,4 +1,7 @@ |
|||
'use strict'; |
|||
|
|||
exports.foo = 1; |
|||
exports.bar = 2; |
|||
var foo = 1; |
|||
var bar = 2; |
|||
|
|||
exports.foo = foo; |
|||
exports.bar = bar; |
|||
|
@ -1,6 +1,9 @@ |
|||
(function (exports) { 'use strict'; |
|||
|
|||
exports.foo = 1; |
|||
exports.bar = 2; |
|||
var foo = 1; |
|||
var bar = 2; |
|||
|
|||
exports.foo = foo; |
|||
exports.bar = bar; |
|||
|
|||
})((this.myBundle = {})); |
|||
|
Loading…
Reference in new issue