mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 05:37:58 +00:00
0467c16bee
* Mock __dirname via cjs import * CHANGELOG
11 lines
418 B
TypeScript
11 lines
418 B
TypeScript
// Copyright 2017-2021 @polkadot/reactnative-identicon authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo';
|
|
import { detectPackage } from '@polkadot/util';
|
|
|
|
import __dirname from './cjs/dirname';
|
|
import { packageInfo } from './packageInfo';
|
|
|
|
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname, [sharedInfo]);
|