1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-25 11:13:52 +02:00

fix: build core script files as UMD (#5220)

This commit is contained in:
Joe Forbes 2018-06-04 12:24:43 -07:00 committed by Gary Katsevman
parent a3fd06a1a8
commit 7c5a066f2a

View File

@ -154,7 +154,8 @@ export default cliargs => [
{
input: 'src/js/video.js',
output: {
format: 'cjs',
format: 'umd',
name: 'videojs',
file: 'dist/alt/video.core.js',
strict: false,
banner
@ -174,7 +175,8 @@ export default cliargs => [
{
input: 'src/js/video.js',
output: {
format: 'cjs',
format: 'umd',
name: 'videojs',
file: 'dist/alt/video.core.novtt.js',
strict: false,
banner: compiledLicense(Object.assign({includesVtt: true}, bannerData))