This website works better with JavaScript.
Home
Explore
Help
Sign In
lukechilds
/
rollup
mirror of
https://github.com/lukechilds/rollup.git
Watch
1
Star
0
Fork
0
Code
Issues
Projects
Releases
Wiki
Activity
774
Commits
21
Branches
151
Tags
2.6 MiB
Tree:
b7dbe46dfe
rollup
/
test
/
function
/
top-level-side-effect-on-im...
/
_config.js
4 lines
77 B
Raw
Normal View
History
Test that top-level side effects involving imports are preserved. With the current implementation of rollup, this test fails. To make it pass, you can replace `import obj from './obj;` in lib.js with `var obj = {};`, suggesting that it's the import itself that somehow confuses rollup.
10 years ago
module
.
exports
=
{
description
:
'top level function calls are preserved'
}
;