GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — Add new compiler option --rootDir by mhegazy · Pull Request #2772 · microsoft/TypeScript Conversation
Contributor
The new option fixes #2644, which is a reactivation of #287, and has been in discussion in #2034. BackgroundThe current behavior of the compiler when using This is generally undesirable and can be confusing. it also does not allow for folders that do not contain .ts files to be replicated in the output.
|
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Use lowercase 'r' for 'RootDir', use single quotes :
"under 'rootDir' '{1}'. 'rootDir' is expected..."
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Conflicts: tests/baselines/reference/APISample_compile.types tests/baselines/reference/APISample_linter.types tests/baselines/reference/APISample_transform.types tests/baselines/reference/APISample_watcher.types
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
soruceFiles -> sourceFiles
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
why so soruce?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Add new compiler option --rootDir
|
Is this in beta already or will be only in release? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Should be in 1.5-beta |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Mohamed Hegazy (@mhegazy) filed here #2974 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Empty parent directories are not preserved with --outDir
There was an error while loading. Please reload this page.