Design system.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213
  1. import { copyFileSync } from 'fs';
  2. import { resolve } from 'path';
  3. const doCopy = (src: string, dest: string) => {
  4. const trueSrc = resolve(src);
  5. const trueDest = resolve(dest);
  6. console.log('Copying...');
  7. console.log(`${trueSrc} -> ${trueDest}`);
  8. copyFileSync(trueSrc, trueDest);
  9. console.log('Done');
  10. }
  11. doCopy('./src/components/Refractor/Refractor.css', './dist/Refractor.css');