Skip to content

No AMD with multiple files: tsc --out onefile.js --module amd "file1.ts" "file2.ts" #289

@electricessence

Description

@electricessence

When merging your files into one file, the --module amd flag makes no difference.
There needs to be a way that if all the files listed define the same root namespace, then it should compile into an amd module. Am I missing something here?

I did not write "export = " in any of these files. Not much documentation about how to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already createdSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions