mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
chore: move ci.js to ci.cjs
This commit is contained in:
10
scripts/module-resolve/ci.cjs
Normal file
10
scripts/module-resolve/ci.cjs
Normal file
@@ -0,0 +1,10 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user