Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Sourcemap issue with beta.48 #849

@ArmorDarks

Description

@ArmorDarks

JSPM 0.17.0-beta.48 (Windows 10) seems to introduce issue woth sourcemaps.

Here is how it looks before beta.48 on Windows (note the issue with paths, described in #845):

{
  "version": 3,
  "sources": [
    "jspm_packages/npm/jquery@3.3.1/dist/jquery.js",
    "src/file:/J:/_DEL_JSPM_TEST/src/dep.js",
    "src/file:/J:/_DEL_JSPM_TEST/src/app.js"
  ],
  "names": [...],
  "mappings": "...",
  "file": "build.js"
}

beta.48 fixed issue with paths on Windows, but now source map does not include package internal dependencies — only package itself and jspm_packages dependencies:

Here is how it looks with beta.48:

{
  "version": 3,
  "sources": [
    "jspm_packages/npm/jquery@3.3.1/dist/jquery.js",
    "src/app.js"
  ],
  "names": [...],
  "mappings": "...",
  "file": "build.js"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions