mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-01 07:24:30 +08:00
点光源跟随勇士,动画路径
This commit is contained in:
1 parent
b0bfbfa0a4
commit
c39dd87556
16 files changed
+1436
-845
No files matched your search
+2
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user