Skip to content

Commit 8a7ea5c

Browse files
committed
Tuning configurations
1 parent e06aadf commit 8a7ea5c

File tree

5 files changed

+28
-5409
lines changed

5 files changed

+28
-5409
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const ts = require('gulp-typescript');
44
const sass = require('gulp-sass');
55
const merge = require('merge2');
66
const webpack = require('webpack-stream');
7-
const tsProject = ts.createProject('./tsconfig.json');
7+
const tsProject = ts.createProject('./tsconfig.build.json');
88

99
gulp.task('build_styles', function () {
1010
return gulp.src('./src/styles/**/*.scss')

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.build.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"compilerOptions": {
3+
"sourceMap": true,
4+
"outDir": "ts-build",
5+
"noImplicitAny": false,
6+
"jsx": "react",
7+
"target": "es5",
8+
"declaration": true,
9+
"module": "commonjs",
10+
"typeRoots": [
11+
"./node_modules/@types"
12+
],
13+
"lib": [
14+
"dom",
15+
"es2015",
16+
"es2015.collection",
17+
"es2016",
18+
"es2016.array.include"
19+
]
20+
},
21+
"include": [
22+
"./src/**/*.ts",
23+
"./src/**/*.tsx",
24+
"./test/**/*.ts"
25+
]
26+
}

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"noImplicitAny": false,
66
"jsx": "react",
77
"target": "es5",
8-
"declaration": true,
98
"module": "commonjs",
109
"typeRoots": [
1110
"./node_modules/@types"

0 commit comments

Comments
 (0)