Skip to content

Commit

Permalink
Merged in pre-prod-2-0 (pull request #458)
Browse files Browse the repository at this point in the history
Release 2.4.3
  • Loading branch information
dinawee committed Jun 15, 2022
2 parents 57e4f5c + 69584bd commit fe94b5e
Show file tree
Hide file tree
Showing 300 changed files with 27,041 additions and 808 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SKYLINK WEB SDK 2.4.2
# SKYLINK WEB SDK 2.4.3
> Temasys SkylinkJS Web SDK is an open-source client-side library for your web-browser that enables any website to easily leverage the capabilities of WebRTC and its direct data streaming powers between peers for audio/video conferencing.
You'll need a Temasys Account, and an App key to use this. [Register here to get your App key](https://console.temasys.io).
Expand All @@ -16,7 +16,7 @@ You'll need a Temasys Account, and an App key to use this. [Register here to get
- (+) Latest browser versions indicates the last tested browser version. It should work with the updated next versions, but if it doesn't, open a bug ticket.

#### Read more
- [Getting started](https://temasys.io/getting-started-with-webrtc-and-skylinkjs/)
- [Getting started](https://github.com/Temasys/GettingStarted)
- [API Docs](https://cdn.temasys.io/skylink/skylinkjs/latest/docs/index.html)
- [Versions](https://github.com/Temasys/SkylinkJS/releases)
- [Temasys Console - Get your App key](https://console.temasys.io)
Expand All @@ -34,7 +34,7 @@ You'll need a Temasys Account, and an App key to use this. [Register here to get
- We recommend that you always use the latest versions of the Temasys SkylinkJS Web SDK as WebRTC is still evolving and we adapt to changes very frequently.
- It is advised to not attach any event handlers to the WebRTC APIs as doing so may override the handlers set in SkylinkJS and result in unexpected behaviour.

[Latest version: 2.4.2](https://github.com/Temasys/SkylinkJS/releases/tag/2.4.2)
[Latest version: 2.4.3](https://github.com/Temasys/SkylinkJS/releases/tag/2.4.3)


## How to build your own Temasys SkylinkJS Web SDK
Expand Down
26 changes: 6 additions & 20 deletions demos/reactjs/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const eslintFormatter = require('react-dev-utils/eslintFormatter');
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
const paths = require('./paths');
const getClientEnvironment = require('./env');
const TerserPlugin = require('terser-webpack-plugin-legacy');

// Webpack uses `publicPath` to determine where the app is being served from.
// It requires a trailing slash, or the file assets will get an incorrect path.
Expand Down Expand Up @@ -263,25 +264,10 @@ module.exports = {
// Otherwise React will be compiled in the very slow development mode.
new webpack.DefinePlugin(env.stringified),
// Minify the code.
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false,
// Disabled because of an issue with Uglify breaking seemingly valid code:
// https://github.com/facebookincubator/create-react-app/issues/2376
// Pending further investigation:
// https://github.com/mishoo/UglifyJS2/issues/2011
comparisons: false,
},
mangle: {
safari10: true,
},
output: {
comments: false,
// Turned on because emoji and regex is not minified properly using default
// https://github.com/facebookincubator/create-react-app/issues/2488
ascii_only: true,
},
sourceMap: shouldUseSourceMap,
new TerserPlugin({
test: /\.js(\?.*)?$/i,
sourceMap: true,
extractComments: true,
}),
// Note: this won't work without ExtractTextPlugin.extract(..) in `loaders`.
new ExtractTextPlugin({
Expand Down Expand Up @@ -328,7 +314,7 @@ module.exports = {
// solution that requires the user to opt into importing specific locales.
// https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
// You can remove this if you don't use Moment.js:
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
// new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
],
// Some libraries import Node modules but don't use them in the browser.
// Tell Webpack to provide empty mocks for them so importing them works.
Expand Down
Loading

0 comments on commit fe94b5e

Please sign in to comment.