mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 13:47:56 +00:00
Mock __dirname via cjs import (#577)
* Mock __dirname via cjs import * CHANGELOG
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// Copyright 2017-2021 @polkadot/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
module.exports = typeof __dirname === 'string'
|
||||
? __dirname.replace('/cjs', '')
|
||||
: undefined;
|
||||
Reference in New Issue
Block a user