-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
As originally described in #1125, some component library authors may store their components in a location other than the one we're used to seeing. For dash-bootstrap-components, the JS bundle is actually stored within a _components subdirectory.
The lines in the Julia component generator which copy in the CSS & JS dependencies date from the initial version I wrote, before the changes in #1125 were added:
dash/dash/development/_jl_components_generation.py
Lines 519 to 528 in 938c3ca
| os.makedirs("deps") | |
| for javascript in glob.glob("{}/*.js".format(project_shortname)): | |
| shutil.copy(javascript, "deps/") | |
| for css in glob.glob("{}/*.css".format(project_shortname)): | |
| shutil.copy(css, "deps/") | |
| for sourcemap in glob.glob("{}/*.map".format(project_shortname)): | |
| shutil.copy(sourcemap, "deps/") |
I suggest updating the component generator to support different folder structures for Dash.jl libraries as well.
Metadata
Metadata
Assignees
Labels
No labels