-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use
output.{fmt}.js
for exports-fixture assertion
- Loading branch information
Showing
13 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
function foo(a) { | ||
return a + a; | ||
} | ||
|
||
const bar = b => b + b; | ||
|
||
async function baz(a) { | ||
return a + a; | ||
} | ||
|
||
let hello = 'world'; | ||
|
||
var abc = 123; | ||
|
||
class Foo extends Component { | ||
// | ||
} | ||
|
||
|
||
|
||
exports.Foo = Foo; | ||
exports.abc = abc; | ||
exports.bar = bar; | ||
exports.baz = baz; | ||
exports.foo = foo; | ||
exports.hello = hello; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
function foo(a) { | ||
return a + a; | ||
} | ||
|
||
const bar = b => b + b; | ||
|
||
async function baz(a) { | ||
return a + a; | ||
} | ||
|
||
let hello = 'world'; | ||
|
||
var abc = 123; | ||
|
||
class Foo extends Component { | ||
// | ||
} | ||
|
||
exports.Foo = Foo; | ||
exports.abc = abc; | ||
exports.bar = bar; | ||
exports.baz = baz; | ||
exports.foo = foo; | ||
exports.hello = hello; |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"cjs": "dist/basic.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
function hello() { | ||
return 'import{foo}from"bar";export const bar = foo + 123;'; | ||
} | ||
|
||
function world() { | ||
return "export { foo } from 'foobar'"; | ||
} | ||
|
||
function there() { | ||
return 'var foo=123;export default foo'; | ||
} | ||
|
||
const hiya = true; | ||
|
||
let foo=1, bar=2, foobar=3; | ||
|
||
|
||
|
||
|
||
exports.bar = bar; | ||
exports.foo = foo; | ||
exports.foobar = foobar; | ||
exports.hello = hello; | ||
exports.hiya = hiya; | ||
exports.there = there; | ||
exports.world = world; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "basic" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export function hello() { | ||
return 'import{foo}from"bar";export const bar = foo + 123;'; | ||
} | ||
|
||
export function world() { | ||
return "export { foo } from 'foobar'"; | ||
} | ||
|
||
export function there() { | ||
return 'var foo=123;export default foo'; | ||
} | ||
|
||
export const hiya = true; | ||
|
||
let foo=1, bar=2, foobar=3; | ||
|
||
export{ foo, bar }; | ||
export { foobar }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters