Match-id-0084a29d1253cb83d2a5a124fda2c8f0bbfb4784

This commit is contained in:
* 2022-07-13 16:51:49 +08:00 committed by *
commit d3e3492640
4 changed files with 6 additions and 18336 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ build/
.vscode
package-lock.json
libs/**/dist
scripts/*.ejs

View File

@ -10,6 +10,11 @@ const argv = require('minimist')(process.argv.slice(2));
const libPathPrefix = '../build';
const suffix = argv.dev ? 'development.js' : 'production.js';
const template = argv.type === 'horizon' ? 'horizon3rdTemplate.ejs' : 'template.ejs';
const templatePath = path.resolve(__dirname, `./${template}`);
if (!fs.existsSync(templatePath)) {
console.log(chalk.yellow('Failed: Template file not exist'));
return;
}
const readLib = lib => {
const libName = lib.split('.')[0];
const libPath = path.resolve(__dirname, `${libPathPrefix}/${libName}/umd/${lib}`);

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long