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

Base argument #2524

Open
guybedford opened this issue Jan 1, 2021 · 0 comments
Open

Base argument #2524

guybedford opened this issue Jan 1, 2021 · 0 comments

Comments

@guybedford
Copy link
Member

Per Joel Denning's request to permit emitting an import map that has a separate base to its referenced modules:

~/c/j/p/app1 (main|✔) $ jspm map -o lib/app1.importmap --map-base http://localhost:9001/
err (jspm) Unable to reference mapping @empty at ../../jspm_packages/npm/@jspm/core@1.1.1/nodelibs/@empty.js. The base for the import map must a higher path than its mappings.

I believe the concept is that the base URL of the import map in production will have different relative URLs than the import map during development to the modules in play, so we want a "productionBaseURL" to be inlined as absolute.

@guybedford guybedford transferred this issue from another repository Apr 8, 2023
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

No branches or pull requests

1 participant