Skip to content

Commit 478efcf

Browse files
author
Martynas Žilinskas
committed
Added missing compiled example folder.
1 parent 0b3e829 commit 478efcf

File tree

5 files changed

+48
-1
lines changed

5 files changed

+48
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $RECYCLE.BIN/
2020
node_modules
2121

2222
wwwroot
23-
dist
23+
dist/**
2424
test
2525
cpj.config.json
2626
npm-debug.log

example/dist/build.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
'use strict';
2+
3+
Object.defineProperty(exports, '__esModule', { value: true });
4+
5+
class World {
6+
Spin() {
7+
console.log('World is now spinning! Weeeee');
8+
}
9+
Stop() {
10+
console.log('World has stopped spinning!');
11+
}
12+
}
13+
14+
class Hello {
15+
SayHello(name) {
16+
console.log(`Hello ${name}!`);
17+
}
18+
}
19+
20+
exports['default'] = World;
21+
exports.World = Hello;

example/dist/example-lib.d.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// Generated by dts-bundle v0.4.3
2+
3+
declare module 'example-lib' {
4+
import Hello from 'example-lib/hello';
5+
import World from 'example-lib/world';
6+
export default Hello;
7+
export { World };
8+
}
9+
10+
declare module 'example-lib/hello' {
11+
export default class Hello {
12+
SayHello(name: string): void;
13+
}
14+
}
15+
16+
declare module 'example-lib/world' {
17+
export default class World {
18+
Spin(): void;
19+
Stop(): void;
20+
}
21+
}
22+

example/dist/hello.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/* Generated by main-file-generator */
2+
module.exports.default = require('..\build.js').Default;

example/dist/world.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/* Generated by main-file-generator */
2+
module.exports.default = require('..\build.js').World;

0 commit comments

Comments
 (0)