mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Leverage pre-staged video_player.css in dist to avoid having to create this directory
This commit is contained in:
@@ -6,6 +6,6 @@
|
||||
"plyr": "^3.6.2"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "mkdir -p static/dist && cp node_modules/plyr/dist/plyr.js node_modules/plyr/dist/plyr.css static/dist"
|
||||
"build": "cp node_modules/plyr/dist/plyr.js node_modules/plyr/dist/plyr.css static/dist"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1"/>
|
||||
<title>Video player</title>
|
||||
${h.stylesheet_link(app_root + 'dist/plyr.css')}
|
||||
${h.stylesheet_link(app_root + 'video_player.css')}
|
||||
${h.stylesheet_link(app_root + 'dist/video_player.css')}
|
||||
</head>
|
||||
<body class="body-video-player">
|
||||
${h.javascript_link( app_root + "dist/plyr.js")}
|
||||
|
||||
Reference in New Issue
Block a user