chore: move ci.js to ci.cjs

This commit is contained in:
alt0
2023-01-09 11:32:00 +08:00
parent cc5c16623a
commit 0179ad567e
6 changed files with 8 additions and 10 deletions

View File

@@ -2,12 +2,9 @@ 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');
const destinationPath = path.resolve(__dirname, '../../module-resolve.cjs');
console.log('template path', templatePath);
console.log('destination path', destinationPath);
fs.copyFileSync(
templatePath,
destinationPath
);
fs.copyFileSync(templatePath, destinationPath);