Skip to content

Update browserify task for gulp-typescript 3.0#11358

Merged
sandersn merged 2 commits into
masterfrom
update-browserify-for-gulp-typescript-3
Oct 5, 2016
Merged

Update browserify task for gulp-typescript 3.0#11358
sandersn merged 2 commits into
masterfrom
update-browserify-for-gulp-typescript-3

Conversation

@sandersn
Copy link
Copy Markdown
Member

@sandersn sandersn commented Oct 4, 2016

Fixes runtests-browser

  1. Doesn't need extra src/ prefix
  2. testProject is now a function that needs to be called first.
  3. createProject now needs a path relative to the tsconfig, not relative to the project root.

2a. path.resolve apparently relies on this because you can't pass it straight to map. :(

1. Doesn't need extra src/ prefix
2. testProject is now a function that needs to be called first.
@sandersn
Copy link
Copy Markdown
Member Author

sandersn commented Oct 4, 2016

Better wait on this. Sourcemaps are now broken and gulp-typescript 3.0's notes indicate there is no simple fix. So until I figure out a fix, runtests-browser starts up Chrome but doesn't have any tests available.

Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested and I can open chrome and use source maps.

@sandersn sandersn merged commit 29599fe into master Oct 5, 2016
@mhegazy mhegazy deleted the update-browserify-for-gulp-typescript-3 branch October 5, 2016 17:16
ghost pushed a commit that referenced this pull request Oct 12, 2016
ghost pushed a commit that referenced this pull request Oct 12, 2016
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants