mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
4 changed files with 11 additions and 0 deletions
@ -0,0 +1,5 @@ |
|||||
|
module.exports = { |
||||
|
solo: true, |
||||
|
show: true, |
||||
|
description: 'imports side-effects in the right order (#335)' |
||||
|
}; |
@ -0,0 +1 @@ |
|||||
|
export default global.polyfilled ? 'polyfilled' : 'unpolyfilled'; |
@ -0,0 +1,4 @@ |
|||||
|
import './polyfill.js'; |
||||
|
import foo from './foo.js'; |
||||
|
|
||||
|
assert.equal( foo, 'polyfilled' ); |
@ -0,0 +1 @@ |
|||||
|
global.polyfilled = true; |
Loading…
Reference in new issue