mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-26 17:03:46 +03:00
11 lines
350 B
JavaScript
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);
|