点光源跟随勇士,动画路径

This commit is contained in:
AncTe committed 2023-04-15 20:21:29 +08:00
1 parent b0bfbfa0a4
commit c39dd87556
16 files changed
+1436 -845

No files matched your search

+2 -1
View File
@@ -3,6 +3,7 @@ import fss from 'fs';
import fse from 'fs-extra';
import Fontmin from 'fontmin';
import { exec } from 'child_process';
import * as babel from '@babel/core';
(async function () {
// 1. 去除未使用的文件
@@ -100,7 +101,7 @@ import { exec } from 'child_process';
exec(
`babel ${data.main.plugin
.map(v => `./dist/project/plugin/${v}.js`)
.join(' ')} --out-file ./dist/project/plugin.min.js`
.join(' ')} --out-file ./dist/project/plugin.m.js`
).on('close', async () => {
const main = await fs.readFile('./dist/main.js', 'utf-8');
await fs.writeFile(