Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iced3] Use source-map-support for stack trace formatting #206

Merged
merged 7 commits into from
Jan 15, 2020

Conversation

zapu
Copy link
Collaborator

@zapu zapu commented Dec 3, 2019

Iced3 version

Work in progress

Iced2 version is here: #205

zapu added 2 commits December 3, 2019 15:20
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 iced3>" 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 zapu changed the title Zapu/source map support iced3 [iced3] Use source-map-support for stack trace formatting Dec 3, 2019
@@ -3,7 +3,7 @@
<head>
Copy link
Collaborator Author

@zapu zapu Dec 11, 2019

Choose a reason for hiding this comment

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

Ignore when reviewing - generated file from documentation/test.html

@@ -11,6 +11,8 @@ path = require 'path'
helpers = require './helpers'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Most important changes are in this file.

@zapu zapu requested a review from maxtaco December 12, 2019 18:18
@maxtaco maxtaco merged commit e99b149 into iced3a Jan 15, 2020
@maxtaco maxtaco deleted the zapu/source-map-support-iced3 branch January 15, 2020 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants