Allow detectPackage with import.meta.url (#2962)
* Allow detectPackage with import.meta.url * Fix detectPackage import * header naming
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
// Copyright 2017-2020 @polkadot/metadata authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { detectPackage } from '@polkadot/util';
|
||||
|
||||
import packageInfo from './package-info.json';
|
||||
|
||||
detectPackage(packageInfo, typeof __dirname !== 'undefined' && __dirname);
|
||||
Reference in New Issue
Block a user