Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Mapping a dependency to @empty changes the import path #1072

Open
josephschmitt opened this issue Feb 23, 2018 · 0 comments
Open

Mapping a dependency to @empty changes the import path #1072

josephschmitt opened this issue Feb 23, 2018 · 0 comments

Comments

@josephschmitt
Copy link

Kind of a hard issue to succinctly describe, so I've set up a repository where you can easily reproduce this issue https://github.com/josephschmitt/jspm-empty-demo

If you run through those steps, you'll notice you get an error on bundle. Additionally, if you look at the package in jspm_packages, you'll see it changed the import path from import * from '@joe-sh/jspm-empty-other-dependency' to import * from '@empty', which leads to the access error when trying to load index.js in that import path.

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