Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Source maps are misaligned #243

Closed
connorjclark opened this issue Mar 5, 2019 · 1 comment
Closed

Source maps are misaligned #243

connorjclark opened this issue Mar 5, 2019 · 1 comment

Comments

@connorjclark
Copy link
Contributor

connorjclark commented Mar 5, 2019

Steps to reproduce

Tell us about your environment:

  • ndb version: 1.0.12 - 1.0.26
  • Platform / OS version: MacOS Mojave 10.14.3
  • Node.js version: 8.12.0

I cannot upgrade past 1.0.26: #242 (comment)

What steps will reproduce the problem?

Please include code that reproduces the issue.

  1. download the js and source map from https://macho-degree.surge.sh/
  2. start a local server and ndb node tmp.min.js
  3. mappings are off

What is the expected result?

Mappings should work, just like in Chrome. Go to https://macho-degree.surge.sh/ open devtools and see how it should work.

What happens instead?

madness

extracted from terser/terser#305

@connorjclark
Copy link
Contributor Author

connorjclark commented Mar 6, 2019

image

The code being run is actually a bit different :)

nodejs/node#17396

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant