chore: remove absolete module-resolve (#1991)

This commit is contained in:
hehe
2023-04-17 23:02:22 +08:00
committed by GitHub
parent 6c77006bcc
commit 54a30bbf20
4 changed files with 0 additions and 27 deletions
-10
View File
@@ -1,10 +0,0 @@
const fs = require('fs');
const path = require('path');
const templatePath = path.resolve(__dirname, 'module-resolve.tmpl.js');
const destinationPath = path.resolve(__dirname, '../../module-resolve.cjs');
console.log('template path', templatePath);
console.log('destination path', destinationPath);
fs.copyFileSync(templatePath, destinationPath);
@@ -1,11 +0,0 @@
function resolve(pkg) {
if (pkg.dependencies && pkg.dependencies['@toeverything/pathfinder-logger']) {
pkg.dependencies['@toeverything/pathfinder-logger'] = 'latest';
}
return pkg;
}
module.exports = {
resolve,
};