Skip to content

Commit

Permalink
feat: #74 import intl-segmenter polfill from formatjs
Browse files Browse the repository at this point in the history
- polyfill is required because firefox hasnt implemented intl segmenter yet
  • Loading branch information
dilshans2k committed Apr 26, 2024
1 parent 0f1ffb1 commit da95a20
Show file tree
Hide file tree
Showing 7 changed files with 10,202 additions and 92 deletions.
37 changes: 37 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@babel/core": "^7.22.8",
"@babel/plugin-proposal-numeric-separator": "^7.18.6",
"@babel/preset-env": "^7.22.7",
"@formatjs/intl-segmenter": "^11.5.5",
"babel-loader": "^9.1.3",
"browserslist": "^4.21.9",
"copy-webpack-plugin": "^11.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/tinode.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ import * as Const from './config.js';
import CommError from './comm-error.js';
import Connection from './connection.js';
import DBCache from './db.js';
import '@formatjs/intl-segmenter/polyfill'
import Drafty from './drafty.js';
import LargeFileHelper from './large-file.js';
import MetaGetBuilder from './meta-builder.js';
Expand Down
Loading

0 comments on commit da95a20

Please sign in to comment.