mirror of https://github.com/lukechilds/rollup.git
Emil Ajdyna
8 years ago
14 changed files with 63 additions and 7 deletions
@ -0,0 +1,7 @@ |
|||
module.exports = { |
|||
description: 'getInterop with interop: false', |
|||
options: { |
|||
moduleName: 'foo', |
|||
interop: false |
|||
} |
|||
}; |
@ -0,0 +1,8 @@ |
|||
define(['core/view'], function (View) { 'use strict'; |
|||
|
|||
/*eslint import/no-unresolved: 0*/ |
|||
var main = View.extend({}); |
|||
|
|||
return main; |
|||
|
|||
}); |
@ -0,0 +1,10 @@ |
|||
'use strict'; |
|||
|
|||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } |
|||
|
|||
var View = _interopDefault(require('core/view')); |
|||
|
|||
/*eslint import/no-unresolved: 0*/ |
|||
var main = View.extend({}); |
|||
|
|||
module.exports = main; |
@ -0,0 +1,6 @@ |
|||
import View from 'core/view'; |
|||
|
|||
/*eslint import/no-unresolved: 0*/ |
|||
var main = View.extend({}); |
|||
|
|||
export default main; |
@ -0,0 +1,9 @@ |
|||
var foo = (function (View) { |
|||
'use strict'; |
|||
|
|||
/*eslint import/no-unresolved: 0*/ |
|||
var main = View.extend({}); |
|||
|
|||
return main; |
|||
|
|||
}(View)); |
@ -0,0 +1,12 @@ |
|||
(function (global, factory) { |
|||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('core/view')) : |
|||
typeof define === 'function' && define.amd ? define(['core/view'], factory) : |
|||
(global.foo = factory(global.View)); |
|||
}(this, (function (View) { 'use strict'; |
|||
|
|||
/*eslint import/no-unresolved: 0*/ |
|||
var main = View.extend({}); |
|||
|
|||
return main; |
|||
|
|||
}))); |
@ -0,0 +1,3 @@ |
|||
/*eslint import/no-unresolved: 0*/ |
|||
import View from 'core/view'; |
|||
export default View.extend({}); |
Loading…
Reference in new issue