AFFiNE/scripts/module-resolve/ci.cjs
2023-01-09 11:32:00 +08:00

11 lines
350 B
JavaScript

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);