mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-17 11:21:09 +00:00
Allow import.meta.url for detectPackage (#420)
* Allow import.meta.url for detectPackage * Bump deps
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { detectPackage } from '@polkadot/util';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
detectPackage(require('./package.json'), typeof __dirname !== 'undefined' && __dirname);
|
||||
Reference in New Issue
Block a user