mirror of https://github.com/lukechilds/rollup.git
8 changed files with 28 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||
|
var assert = require( 'assert' ); |
||||
|
|
||||
|
module.exports = { |
||||
|
solo: true, |
||||
|
description: 'resolves more pathological cyclical dependencies gracefully', |
||||
|
options: { |
||||
|
onwarn: function ( message ) { |
||||
|
console.log(message); |
||||
|
// assert.ok( /unable to evaluate without/.test( message ) );
|
||||
|
} |
||||
|
} |
||||
|
}; |
@ -0,0 +1,3 @@ |
|||||
|
import * as x from "./x.a.js"; |
||||
|
x.b(); |
||||
|
x.c(); |
@ -0,0 +1,3 @@ |
|||||
|
import * as x from "./x.b.js"; |
||||
|
|
||||
|
export function b() {} |
@ -0,0 +1,3 @@ |
|||||
|
import * as x from "./x.c.js"; |
||||
|
|
||||
|
export function c() {} |
@ -0,0 +1 @@ |
|||||
|
import './a.js'; |
@ -0,0 +1,2 @@ |
|||||
|
export * from "./b.js"; |
||||
|
export * from "./c.js"; |
@ -0,0 +1,2 @@ |
|||||
|
export * from "./a.js"; |
||||
|
export * from "./c.js"; |
@ -0,0 +1,2 @@ |
|||||
|
export * from "./a.js"; |
||||
|
export * from "./b.js"; |
Loading…
Reference in new issue