Skip to content

Navigation Menu

Sign in
Sign up

Use source-map-support for stack trace formatting - #205

Open
zapu wants to merge 9 commits into
iced2 from
zapu/source-map-support
Open

Use source-map-support for stack trace formatting #205
zapu wants to merge 9 commits into
iced2 from
zapu/source-map-support

Conversation

@zapu

@zapu zapu commented Dec 1, 2019

Copy link
Copy Markdown
Collaborator

This seems to work with single files but I have not tested yet with bigger projects, or with projects that would register multiple compilers which all would use source-map-support for error formatting.

zapu added 5 commits December 3, 2019 15:42
Disable cache when installing in source-map-support - we are keeping our
own cache, and so does ts-node, so while there is benefit from another
cache layer on s-m-s side, this causes problems with anonymous files, or
modules that are removed from require.cache and re-required.
Using "<anonymous iced>" instead of "<anonymous>" module.filename when
running code that does not have a file name allows iced3 and iced2 to
not clash if both are used within one node instance.
zapu requested a review from maxtaco December 12, 2019 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@maxtaco maxtaco maxtaco approved these changes
+1 more reviewer
@abufoysal2004 abufoysal2004 abufoysal2004 approved these changes
Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /