Skip to content

Commit 389eb9a

Browse files
committed
Add example code
1 parent 73835d4 commit 389eb9a

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

example/bin/out.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
'use strict';
2+
3+
'use strict';
4+
5+
function hello(name) {
6+
console.log(`Hello, ${name}`);
7+
}
8+
9+
hello("Koala");

example/entry.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
include lib/hello.js
4+
5+
hello("Koala");

example/lib/hello.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
'use strict';
2+
3+
function hello(name) {
4+
console.log(`Hello, ${name}`);
5+
}

0 commit comments

Comments
 (0)