gulp-typescript
gulp-typescript copied to clipboard
Support newLine option
Expected behavior:
Specifying "newLine": "LF" in tsconfig.json will cause the compiler to emit the correct newlines
Actual behavior: The compiler emits the native (CRLF) newlines
Your gulpfile:
https://github.com/screepers/screeps-typescript-starter/blob/master/gulpfile.js
tsconfig.json
Include your tsconfig, if related to this issue.
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"removeComments": true,
"noResolve": false,
"noImplicitAny": true,
"experimentalDecorators": true,
"strictNullChecks": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"sourceMap": true,
"newLine": "LF",
"lib": [
"es2016"
]
},
"compileOnSave": false,
"include": [
"typings/**/*.d.ts",
"src/**/*.ts",
"src/index.d.ts"
],
"exclude": [
"dist",
"node_modules",
"libs"
]
}