Add a tsconfig to the Thumbnailer example
This commit is contained in:
parent
7854e0d393
commit
a0de263930
|
@ -5,6 +5,7 @@ export class Thumbnailer extends mu.Stack {
|
|||
private dest: mu.Bucket; // the destination to store thumbnails in.
|
||||
|
||||
constructor(source: mu.Bucket, dest: mu.Bucket) {
|
||||
super();
|
||||
this.source = source;
|
||||
this.dest = dest;
|
||||
this.source.onObjectCreated(async (event) => {
|
||||
|
|
10
examples/thumbnailer/tsconfig.json
Normal file
10
examples/thumbnailer/tsconfig.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "es6"
|
||||
},
|
||||
"files": [
|
||||
"index.ts",
|
||||
"thumb.ts"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in a new issue