diff --git a/mainpage.dox b/mainpage.dox index 7edff4bcc7..b28bed6493 100644 --- a/mainpage.dox +++ b/mainpage.dox @@ -885,7 +885,7 @@ echotest.createOffer({ // janus.js does not use 'import' to access to the functionality of webrtc-adapter, // instead it expects a global object called 'adapter' for that. // Let's make that object available. - new webpack.ProvidePlugin({ adapter: 'webrtc-adapter' }) + new webpack.ProvidePlugin({ adapter: ['webrtc-adapter', 'default'] }) ] } \endverbatim