fix(core): update

This commit is contained in:
2019-05-28 12:11:11 +02:00
parent 44b81bb478
commit 972681834f
5 changed files with 18 additions and 6 deletions

View File

@ -23,7 +23,7 @@ export class TypeDoc {
public async compile() {
await this.smartshellInstance.exec(
`typedoc --module "commonjs" --target "ES2016" --out public/ ts/`
`typedoc --tsconfig ${paths.tsconfigFile} --out public/ ts/`
);
}
}

View File

@ -1,6 +1,11 @@
import * as plugins from './tsdoc.plugins';
// dirs
export const packageDir = plugins.path.join(__dirname, '../');
export const cwd = process.cwd();
export const binDir = plugins.path.join(packageDir, './node_modules/.bin');
export const assetsDir = plugins.path.join(packageDir, './assets');
export const publicDir = plugins.path.join(packageDir, './public');
// files
export const tsconfigFile = plugins.path.join(assetsDir, './tsconfig.json');