mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 07:06:28 +08:00
chore: remove absolete module-resolve (#1991)
This commit is contained in:
@@ -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,
|
||||
};
|
||||
Reference in New Issue
Block a user