mirror of https://github.com/lukechilds/rollup.git
Oskar Segersvärd
9 years ago
8 changed files with 52 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||
module.exports = { |
|||
// solo: true,
|
|||
description: 'should be able to export * from the bundle', |
|||
options: { |
|||
moduleName: 'exposedInternals' |
|||
} |
|||
}; |
@ -0,0 +1,9 @@ |
|||
define(['exports'], function (exports) { 'use strict'; |
|||
|
|||
const a = 1; |
|||
const b = 2; |
|||
|
|||
exports.a = a; |
|||
exports.b = b; |
|||
|
|||
}); |
@ -0,0 +1,7 @@ |
|||
'use strict'; |
|||
|
|||
const a = 1; |
|||
const b = 2; |
|||
|
|||
exports.a = a; |
|||
exports.b = b; |
@ -0,0 +1,4 @@ |
|||
const a = 1; |
|||
const b = 2; |
|||
|
|||
export { a, b }; |
@ -0,0 +1,9 @@ |
|||
(function (exports) { 'use strict'; |
|||
|
|||
const a = 1; |
|||
const b = 2; |
|||
|
|||
exports.a = a; |
|||
exports.b = b; |
|||
|
|||
})((this.exposedInternals = {})); |
@ -0,0 +1,13 @@ |
|||
(function (global, factory) { |
|||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : |
|||
typeof define === 'function' && define.amd ? define(['exports'], factory) : |
|||
factory((global.exposedInternals = {})); |
|||
}(this, function (exports) { 'use strict'; |
|||
|
|||
const a = 1; |
|||
const b = 2; |
|||
|
|||
exports.a = a; |
|||
exports.b = b; |
|||
|
|||
})); |
@ -0,0 +1,2 @@ |
|||
export const a = 1; |
|||
export const b = 2; |
@ -0,0 +1 @@ |
|||
export * from './internal.js'; |
Loading…
Reference in new issue