Skip to content

sourcemap file isn't included in NPM distribution #124

@nightpool

Description

@nightpool

When loading the package from unpkg, the source map doesn't get loaded. This seems to be because the jso.js dist file references //# sourceMappingURL=jso.js.map, but jso.js.map is excluded from the uploaded NPM package—potentially because the package.json files array only includes src and not dist? I'm not 100% sure.

x = import('https://unpkg.com/jso'); Promise {<pending>} DevTools failed to load source map: Could not load content for https://unpkg.com/jso@4.1.1/dist/jso.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions