mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
7 changed files with 31 additions and 6 deletions
@ -0,0 +1,9 @@ |
|||
var assert = require('assert'); |
|||
|
|||
module.exports = { |
|||
description: "namespace's 'default' properties should be available", |
|||
|
|||
exports: function ( exports ) { |
|||
assert.equal( exports, 42 ); |
|||
} |
|||
}; |
@ -0,0 +1,3 @@ |
|||
import * as mod from './mod.js'; |
|||
|
|||
export default mod.default(); |
@ -0,0 +1 @@ |
|||
export default function () { return 42; } |
Loading…
Reference in new issue