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:
parent
a3fd06a1a8
commit
7c5a066f2a
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user