build(examples): include in main tsconfig.json
Also rename `examples/tsconfig.json` into `examples/tsconfig-build.json` so that it does not shadow the main `tsconfig.json` in editors Also adds `noImplicitAny` and `declarations` `examples/tsconfig.json`.
This commit is contained in:
@ -13,7 +13,7 @@ cd `dirname $0`
|
||||
|
||||
DIST="../../../dist/examples";
|
||||
rm -rf -- $DIST
|
||||
$(npm bin)/tsc -p .
|
||||
$(npm bin)/tsc -p ./tsconfig-build.json
|
||||
|
||||
mkdir $DIST/vendor/
|
||||
|
||||
|
@ -1,8 +1,10 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"experimentalDecorators": true,
|
||||
"noImplicitAny": true,
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "../../../dist/examples",
|
Reference in New Issue
Block a user