Skip to content

what js file package order base on? #4872

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
lusess123 opened this issue Sep 19, 2015 · 3 comments
Closed

what js file package order base on? #4872

lusess123 opened this issue Sep 19, 2015 · 3 comments
Labels
Question An issue which isn't directly actionable in code

Comments

@lusess123
Copy link

in vs2013, we set Combine Javascript output into file ,
my question is: what each js file order base on ?

@DanielRosenwasser DanielRosenwasser added the Question An issue which isn't directly actionable in code label Sep 21, 2015
@DanielRosenwasser
Copy link
Member

My understanding is that your tsconfig.json or your file list in your project file will be processed in that order. If any of your files have a /// <reference path="..." /> and the referenced file has not already been specified, then those referenced files will be concatenated before the contents of the current file.

@danquirk
Copy link
Member

Correct. One last alternative is including a file named _references.ts in the root of your project directly with the set of /// references you want in a particular order.

@mhegazy
Copy link
Contributor

mhegazy commented Sep 21, 2015

@lusess123 you might find my comment in #1066 (comment) has some more information; specifically the "Ordering output with --out" section.

@mhegazy mhegazy closed this as completed Nov 13, 2015
@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

4 participants