Skip to content

Dash.jl package generator does not appear to support different folder structures for dependencies #1435

@rpkyle

Description

@rpkyle

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:

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions