Drop unused generated protobufjs methods

This commit is contained in:
Fedor Indutny 2022-01-03 19:29:41 -08:00 committed by GitHub
parent 46ddcc50f9
commit 868092ac5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -26,7 +26,7 @@
"sass-base": "node-sass --source-map true --importer node_modules/node-sass-import-once/index.js",
"sass-manifest": "yarn sass-base stylesheets/manifest.scss stylesheets/manifest.css",
"sass-manifest-bridge": "yarn sass-base stylesheets/manifest_bridge.scss stylesheets/manifest_bridge.css",
"build-module-protobuf": "pbjs --target static-module --wrap commonjs --out ts/protobuf/compiled.js protos/*.proto && pbts --out ts/protobuf/compiled.d.ts ts/protobuf/compiled.js",
"build-module-protobuf": "pbjs --target static-module --no-verify --no-create --wrap commonjs --out ts/protobuf/compiled.js protos/*.proto && pbts --out ts/protobuf/compiled.d.ts ts/protobuf/compiled.js",
"clean-module-protobuf": "rm -f ts/protobuf/compiled.d.ts ts/protobuf/compiled.js",
"build-protobuf": "yarn build-module-protobuf",
"clean-protobuf": "yarn clean-module-protobuf",

View file

@ -391,7 +391,6 @@ try {
const { ActiveWindowService } = require('./ts/services/ActiveWindowService');
window.imageToBlurHash = imageToBlurHash;
window.emojiData = require('emoji-datasource');
window.libphonenumber =
require('google-libphonenumber').PhoneNumberUtil.getInstance();
window.libphonenumber.PhoneNumberFormat =