clean up explosion of module declarations, remove and inherit comments when taking off the declaration - fixes #1583
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
bar();
|
||||
|
||||
// bar
|
||||
export function foo() {}
|
||||
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
export { foo };
|
||||
bar();
|
||||
|
||||
// bar
|
||||
|
||||
function foo() {}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"blacklist": ["es6.modules"],
|
||||
"noCheckAst": true
|
||||
}
|
||||
Reference in New Issue
Block a user