constructor($stateParams,
private $state: ng.ui.IStateService,
private $scope: ng.IScope,
private common: Common.ICommonService,
private docsData: Lf.Docs.DocsService,
private docsTransform: Lf.Docs.ITransfomDocHelper,
private modal: Bootstrap.Modal,
private calcs: Lf.Docs.Editor.CalcFactory,
private editorChanges: Editor.EditorChanges,
private editorCanAct: Editor.EditorCanAct,
private docTransfLines: Editor.ModalTransformLines,
private helperNewDoc: Docs.INewDocHelper) {
f6
to build
tsconfig.json
:{
"version": "1.5.0",
"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"module": "commonjs",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"outDir": "dist/js/cjs"
},
"fileGlobs": [
"./modules/**/*.ts",
"./tools/**/*.ts",
"!./node_modules/**",
"!./modules_dart/**",
"!./packages/**",
"!./dist/**",
"!./temp/**"
]
}
Hello. In my old project Typescript is building files to a specific directory by preserving the file path. But, when I start a new project and I want to have the same behaviour, it is no longer the case. I have no idea, how can I make the same behaviour again :( For example: if file is in "client/myfile.ts" and my output is set to "dist", I want my file to appear in "dist/client/myfile.js". Do you have any idea please? This is my tsconfig.json:
{
"version": "1.5.0-beta",
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"declaration": false,
"noImplicitAny": true,
"removeComments": false,
"noLib": false,
"preserveConstEnums": true,
"suppressImplicitAnyIndexErrors": true,
"outDir": ".tmp",
"watch": true
},
"filesGlob": [
"./src//*.ts",
"!./src/public//.ts",
"!./src/packages/*"
],
"files": [
"./src/client/src.ts"
]
}
foo.n
should not autocomplete NaN
. Does it ?