Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/development' into fix/lowLatency
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Nov 14, 2024
2 parents e99dd55 + ffe08a7 commit 16a850b
Show file tree
Hide file tree
Showing 11 changed files with 388 additions and 172 deletions.
20 changes: 15 additions & 5 deletions build/webpack.base.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const commonConfig = {
rules: [
{
test: /\.(js)$/,
exclude: [/core-js/],
use: [
{
loader: 'string-replace-loader',
Expand All @@ -19,17 +20,26 @@ const commonConfig = {
{
loader: 'babel-loader',
options: {
targets: {
'chrome': '51'
},
presets: ['@babel/preset-env']
sourceType: 'unambiguous',
presets: [
[
'@babel/preset-env',
{
useBuiltIns: 'usage',
corejs: '3.39.0',
}
],
],
plugins: [
'@babel/plugin-transform-runtime',
'@babel/plugin-transform-parameters'
],
},
},
],
},
],
},
//Webpack 5 no longer polyfills Node.js core modules automatically
resolve: {
fallback: {
stream: require.resolve('stream-browserify'),
Expand Down
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1281,7 +1281,8 @@ declare namespace dashjs {
rtpSafetyFactor?: number,
mode?: 'query' | 'header',
enabledKeys?: Array<string>,
includeInRequests?: Array<string>
includeInRequests?: Array<string>,
version?: number
},
cmsd?: {
enabled?: boolean,
Expand Down
Loading

0 comments on commit 16a850b

Please sign in to comment.