Skip to content

Intermitent wrong output with module: system #19280

Closed
@pocesar

Description

@pocesar

TypeScript Version: 2.6.0-dev.20171017

Expected behavior:

Correctly named system module

Actual behavior:

Incorrectly named module

Sometimes, when using tsc in watch mode, the output outFile is wrong. sometimes it's like this:

System.register("components/cidadao/event", ["react", "moment", "lodash"], function (exports_36, context_36) {

and sometimes it's like this:

System.register("cim-user/src/components/cidadao/event", ["react", "moment", "lodash"], function (exports_36, context_36) {

I have no idea how to reproduce. But it started happening since 20171013

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptNeeds More InfoThe issue still hasn't been fully clarified

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions