Skip to content

Odd warning saying "Cannot compile modules unless '--module' flag is provided" #270

Closed
@ntilwalli

Description

@ntilwalli

I am seeing an odd warning in Sublime 3, Cannot compile modules unless the '--module' flag is provided.

image

But this warning goes away if I simple import a local external module which in this case has a trivial export.

image

But my tsconfig.json does include the module compiler option.

image

It's odd that if I just add a second import the initial import warning goes away. Is this expected?

I'm on a Mac (Yosemite 10.10.3), using the the latest version of typescript-sublime-plugin (v0.1.5, installed from Package Control)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions