Files
api/packages/rpc-augment/src/cjs/dirname.js
T
2022-01-01 09:28:18 +02:00

7 lines
204 B
JavaScript

// Copyright 2017-2022 @polkadot/rpc-augment authors & contributors
// SPDX-License-Identifier: Apache-2.0
module.exports = typeof __dirname === 'string'
? __dirname.replace('/cjs', '')
: undefined;