Skip to content

Commit

Permalink
Update Webpack instruction after webrtc-adapter dependency update (me…
Browse files Browse the repository at this point in the history
  • Loading branch information
ycherniavskyi committed Jan 20, 2021
1 parent f994f7c commit 2141d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainpage.dox
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2141d9b

Please sign in to comment.