Skip to content

Shouldn't external be "video.js" and not "videojs" ? #497

@gaspard

Description

@gaspard

{'video.js': 'videojs'},

The current setting creates invalid "require" calls in compiled JS:

(function webpackUniversalModuleDefinition(root, factory) {
	if(typeof exports === 'object' && typeof module === 'object')
		module.exports = factory(require("RecordRTC"), require("videojs"));
	else if(typeof define === 'function' && define.amd)
		define("VideojsRecord", ["RecordRTC", "videojs"], factory);
	else if(typeof exports === 'object')
		exports["VideojsRecord"] = factory(require("RecordRTC"), require("videojs"));
	else
		root["VideojsRecord"] = factory(root["RecordRTC"], root["videojs"]);
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions