@@ -145,7 +145,7 @@ def find_package_data():
145
145
pjoin (components , "jquery-ui" , "dist" , "jquery-ui.min.js" ),
146
146
pjoin (components , "jquery-ui" , "dist" , "themes" , "smoothness" , "jquery-ui.min.css" ),
147
147
pjoin (components , "jquery-ui" , "dist" , "themes" , "smoothness" , "images" , "*" ),
148
- pjoin (components , "marked" , "lib" , "marked.cjs " ),
148
+ pjoin (components , "marked" , "lib" , "marked.js " ),
149
149
pjoin (components , "react" , "react.production.min.js" ),
150
150
pjoin (components , "react" , "react-dom.production.min.js" ),
151
151
pjoin (components , "requirejs" , "require.js" ),
@@ -417,8 +417,8 @@ def run(self):
417
417
cwd = repo_root ,
418
418
env = env
419
419
)
420
- # Copy the CommonJS files to their JavaScript equivalent to ensure correct loading.
421
- shutil .copyfile (pjoin (self .bower_dir , "marked" , "lib" , "marked.cjs " ), pjoin (self .bower_dir , "marked" , "lib" , "marked.js" ))
420
+ # Copy the UMD files to their JavaScript equivalent to ensure correct loading.
421
+ shutil .copyfile (pjoin (self .bower_dir , "marked" , "lib" , "marked.umd.js " ), pjoin (self .bower_dir , "marked" , "lib" , "marked.js" ))
422
422
except OSError as e :
423
423
print ("Failed to run bower: %s" % e , file = sys .stderr )
424
424
print ("You can install js dependencies with `npm install`" , file = sys .stderr )
0 commit comments