Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 26b95d0

Browse files
committed
Remove tsconfig-paths?
1 parent c2512cd commit 26b95d0

File tree

4 files changed

+1
-23
lines changed

4 files changed

+1
-23
lines changed

build/screener/screener.config.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
require('@fluentui/internal-tooling/babel/register')
22

3-
const config = require('../../config').default
4-
const { compilerOptions } = require('../../build/tsconfig.docs.json')
5-
6-
require('tsconfig-paths').register({
7-
baseUrl: config.path_base,
8-
paths: compilerOptions.paths,
9-
})
10-
113
// https://github.com/screener-io/screener-runner
124
module.exports = {
135
projectRepo: 'microsoft/fluent-ui-react',

build/tsconfig.docs.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"extends": "./tsconfig.common.json",
33
"compilerOptions": {
4-
"module": "esnext",
5-
"paths": {
6-
"@fluentui/*": ["packages/*/src"]
7-
}
4+
"module": "esnext"
85
},
96
"include": ["../docs/src", "../packages/react/src", "../types"]
107
}

gulpfile.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
import { task, parallel } from 'gulp'
22
import * as path from 'path'
3-
import * as tsPaths from 'tsconfig-paths'
4-
5-
import config from './config'
6-
7-
const { compilerOptions } = require('./build/tsconfig.docs.json')
83

94
// add node_modules/.bin to the path so we can invoke .bin CLIs in tasks
105
process.env.PATH =
116
process.env.PATH + path.delimiter + path.resolve(__dirname, 'node_modules', '.bin')
127

13-
tsPaths.register({
14-
baseUrl: config.path_base,
15-
paths: compilerOptions.paths,
16-
})
17-
188
// load tasks in order of dependency usage
199
require('./build/gulp/tasks/bundle')
2010
require('./build/gulp/tasks/docs')

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@
150150
"syncpack": "^4.5.4",
151151
"through2": "^2.0.3",
152152
"tmp": "^0.0.33",
153-
"tsconfig-paths": "^3.7.0",
154153
"tslint": "^5.11.0",
155154
"tslint-config-airbnb": "^5.11.1",
156155
"tslint-config-prettier": "^1.18.0",

0 commit comments

Comments
 (0)