mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
8 changed files with 30 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
description: 'discards function with no side-effects in imported module' |
|||
}; |
@ -0,0 +1,5 @@ |
|||
define(function () { 'use strict'; |
|||
|
|||
|
|||
|
|||
}); |
@ -0,0 +1 @@ |
|||
'use strict'; |
@ -0,0 +1,5 @@ |
|||
(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,6 @@ |
|||
export default function foo () { |
|||
bar(); |
|||
function bar () {} |
|||
} |
|||
|
|||
var x = foo(); |
@ -0,0 +1 @@ |
|||
import './foo.js'; |
Loading…
Reference in new issue