Skip to content

Having *.ts in multiple folders doesnt generate folders if you leave out the root *.ts file #7774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fletchsod-developer opened this issue Apr 1, 2016 · 1 comment
Labels
Question An issue which isn't directly actionable in code

Comments

@fletchsod-developer
Copy link

TypeScript Version:

1.8.29

Code

tsconfig.json

{
  "compilerOptions": {
    "target": "es5",
    "module": "system",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": true,
    "noEmitOnError": true,
    "outDir": "wwwroot/scripts"
    },
    "exclude": [
      "node_modules",
      "typings/main",
      "typings/main.d.ts",
      "wwwroot"
    ]
  }

Expected behavior:

Sorry if it this is a duplicate but I couldn't find one when searching for it.

Using VS-2015 Update 2, If I create this typescript files in folder (or multiple folders)

image

When compiling, it should produce this.

image

Actual behavior:

Instead it produce this

image

But the expected behavior would work if you add a root file instead. (The missing root file shouldn't cause this bug to begin with).

image

image

@mhegazy
Copy link
Contributor

mhegazy commented Apr 6, 2016

@mhegazy mhegazy closed this as completed Apr 6, 2016
@mhegazy mhegazy added the Question An issue which isn't directly actionable in code label Apr 6, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Question An issue which isn't directly actionable in code
Projects
None yet
Development

No branches or pull requests

2 participants