mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-06-12 20:31:05 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// Copyright 2020 @polkadot/phishing authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const path = require('path');
|
||||
|
||||
module.exports = function resolver (file, config) {
|
||||
return file.includes('package.json')
|
||||
? path.join(config.basedir.replace('/src', '/'), file)
|
||||
: config.defaultResolver(file, config);
|
||||
};
|
||||
Reference in New Issue
Block a user