mirror of
https://github.com/toeverything/AFFiNE.git
synced 2025-01-08 05:48:15 +03:00
88c8a408b5
feat: module resolve fix: logger repository fix: module resolve chore: add workflow for module resolve chore: update workflow env chore: update workflow install chore: update workflow env for npm token chore: test docker chore: update workflow env
14 lines
355 B
JavaScript
14 lines
355 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.js');
|
|
|
|
console.log('template path', templatePath);
|
|
console.log('destination path', destinationPath);
|
|
|
|
fs.copyFileSync(
|
|
templatePath,
|
|
destinationPath
|
|
);
|