H5W3
当前位置:H5W3 > 其他技术问题 > 正文

【前端问题精选】tsconfig.json文件中filesGlob字段是设置什么的?

{
    "compilerOptions": {
        "sourceMap": true,
        "rootDir": "./client",
        "outDir": ".tmp"
    },
    "filesGlob": [
        "client/{app,components}/**/!(*.spec).ts",
        "typings/**/*.d.ts"
    ],
    "files": [
        "client/app/account/account.ts",
        "client/app/account/login/login.controller.ts",
        "client/app/account/settings/settings.controller.ts",
        "client/app/account/signup/signup.controller.ts",
        "client/app/admin/admin.controller.ts",
        "client/app/admin/admin.module.ts",
        "client/app/admin/admin.router.ts",
        "client/app/app.ts",
        "client/app/icon.ts",
        "client/app/main/main.controller.ts",
        "client/app/main/main.ts",
        "client/components/auth/auth.module.ts",
        "client/components/auth/auth.service.ts",
        "client/components/auth/interceptor.service.ts",
        "client/components/auth/router.decorator.ts",
        "client/components/auth/user.service.ts",
        "client/components/footer/footer.directive.ts",
        "client/components/mongoose-error/mongoose-error.directive.ts",
        "client/components/navbar/navbar.controller.ts",
        "client/components/navbar/navbar.directive.ts",
        "client/components/sidebar/sidebar.directive.ts",
        "client/components/toolbar/toolbar.directive.ts",
        "client/components/util/util.module.ts",
        "client/components/util/util.service.ts",
        "client/typings/globals/angular-material/index.d.ts",
        "client/typings/globals/angular-ui-router/index.d.ts",
        "client/typings/globals/angular/index.d.ts",
        "client/typings/globals/jquery/index.d.ts",
        "client/typings/globals/lodash/index.d.ts",
        "client/typings/globals/socket.io-client/index.d.ts",
        "client/typings/index.d.ts"
        ]
}

还有就是从官方哪里可以看到tsconfig.json的全部可选的字段呢?

回答:

Q1:https://github.com/TypeStrong…
Q2:http://json.schemastore.org/t…

本文地址:H5W3 » 【前端问题精选】tsconfig.json文件中filesGlob字段是设置什么的?

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址