Skip to content

npm: imports specifier breaks using "own source code" as library #890

Answered by Fil
4www asked this question in Q&A
Discussion options

You must be logged in to vote

If you want to import code on the client (browser), it needs to live in the docs/ directory (you can't call code that lives outside, in ../src/). However when I install your PR locally and try to do this (by just adding a symlink from src to docs/src and fixing a few paths), I quickly hit a wall because one of the dependent libraries does not work in the browser. I probably misunderstand the question.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@4www
Comment options

@Fil
Comment options

Fil Feb 21, 2024
Collaborator

@4www
Comment options

@4www
Comment options

@mbostock
Comment options

Answer selected by 4www
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
3 participants
Converted from issue

This discussion was converted from issue #888 on February 21, 2024 11:55.