mirror of https://github.com/lukechilds/rollup.git
Browse Source
Fix edge case for non-exported variable declaration aliases for exported globals.gh-669
Brian Donovan
9 years ago
9 changed files with 32 additions and 1 deletions
@ -0,0 +1,6 @@ |
|||
module.exports = { |
|||
description: 'allow globals to be exported and imported', |
|||
options: { |
|||
moduleName: 'doc' |
|||
} |
|||
}; |
@ -0,0 +1,5 @@ |
|||
define(function () { 'use strict'; |
|||
|
|||
|
|||
|
|||
}); |
@ -0,0 +1,2 @@ |
|||
'use strict'; |
|||
|
@ -0,0 +1,6 @@ |
|||
(function () { |
|||
'use strict'; |
|||
|
|||
|
|||
|
|||
}()); |
@ -0,0 +1,9 @@ |
|||
(function (global, factory) { |
|||
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
|||
typeof define === 'function' && define.amd ? define(factory) : |
|||
(factory()); |
|||
}(this, function () { 'use strict'; |
|||
|
|||
|
|||
|
|||
})); |
@ -0,0 +1 @@ |
|||
export { document }; |
@ -0,0 +1,2 @@ |
|||
import { document } from './browser.js'; |
|||
var d = document; |
Loading…
Reference in new issue