7 lines
207 B
JavaScript
7 lines
207 B
JavaScript
// Copyright 2017-2021 @polkadot/extension-dapp authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
module.exports = typeof __dirname === 'string'
|
|
? __dirname.replace('/cjs', '')
|
|
: undefined;
|