(self)
Copy JS bundle from top-level JS module to pydeck widget's `static/` folder.
        Overwrites destination files
Copy JS bundle from top-level JS module to pydeck widget's `static/` folder.
        Overwrites destination files
Copy JS bundle from top - level JS module to pydeck widget s static / folder . Overwrites destination files
def copy_frontend_build(self):
        """Copy JS bundle from top-level JS module to pydeck widget's `static/` folder.
        Overwrites destination files"""
        js_dist_dir = os.path.join(widget_dir, "dist")
        nbextension_folder = os.path.join(here, "pydeck", "nbextension", "static")
        js_files = [
            {"source": os.path.join(js_dist_dir, "index.js"), "destination": nbextension_folder},
            {"source": os.path.join(js_dist_dir, "index.js.map"), "destination": nbextension_folder},
        ]
        for js_file in js_files:
            log.debug("Copying %s to %s" % (js_file["source"], js_file["destination"]))
            copy(js_file["source"], js_file["destination"])
def copy_frontend_build ( self ) : js_dist_dir = os . path . join ( widget_dir , "dist" ) nbextension_folder = os . path . join ( here , "pydeck" , "nbextension" , "static" ) js_files = [ { "source" : os . path . join ( js_dist_dir , "index.js" ) , "destination" : nbextension_folder } , { "source" : os . path . join ( js_dist_dir , "index.js.map" ) , "destination" : nbextension_folder } , ] for js_file in js_files : log . debug ( "Copying %s to %s" % ( js_file [ "source" ] , js_file [ "destination" ] ) ) copy ( js_file [ "source" ] , js_file [ "destination" ] )