mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-12-02 19:58:18 +08:00
feat: 添加代码来源声明
This commit is contained in:
parent
c50aa92f93
commit
8e0e26fde5
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/tree/master/packages/core
|
||||
*/
|
||||
|
||||
import { existsSync } from 'fs';
|
||||
import { extname, join } from 'path';
|
||||
import {
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/tree/master/packages/core
|
||||
*/
|
||||
|
||||
|
||||
import Config from './config';
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/tree/master/packages/core
|
||||
*/
|
||||
|
||||
import {
|
||||
createDebug,
|
||||
chalk
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/tree/master/packages/core
|
||||
*/
|
||||
|
||||
import { join } from 'path';
|
||||
import { existsSync, statSync } from 'fs';
|
||||
import { lodash, winPath } from '@umijs/utils';
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/tree/master/packages/core
|
||||
*/
|
||||
import { join } from 'path';
|
||||
import { EventEmitter } from 'events';
|
||||
import assert from 'assert';
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/tree/master/packages/core
|
||||
*/
|
||||
|
||||
import assert from 'assert';
|
||||
import * as utils from '@umijs/utils';
|
||||
import { isValidPlugin, pathToObj } from './utils/pluginUtils';
|
||||
|
@ -1,3 +1,7 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/preset-built-in/src/plugins/commands/build/build.ts
|
||||
*/
|
||||
|
||||
import { Logger } from '@fesjs/compiler';
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/preset-built-in/src/plugins/commands/buildDevUtils.ts
|
||||
*/
|
||||
|
||||
import { join, resolve } from 'path';
|
||||
import { existsSync, readdirSync, readFileSync } from 'fs';
|
||||
import { rimraf, chalk } from '@umijs/utils';
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/preset-built-in/src/plugins/commands/dev/dev.ts
|
||||
*/
|
||||
|
||||
const assert = require('assert');
|
||||
|
||||
export default (api) => {
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/preset-built-in/src/plugins/commands/dev/watchPkg.ts
|
||||
*/
|
||||
|
||||
import { join } from 'path';
|
||||
import { chokidar, winPath, lodash } from '@umijs/utils';
|
||||
import { existsSync, readFileSync } from 'fs';
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/runtime/src/Plugin/Plugin.ts
|
||||
*/
|
||||
|
||||
import { assert } from '../utils';
|
||||
|
||||
function _compose({ fns, args }) {
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/umi/src/forkedDev.ts
|
||||
*/
|
||||
|
||||
import { chalk, yParser } from '@umijs/utils';
|
||||
import { Service } from './serviceWithBuiltIn';
|
||||
import getCwd from './utils/getCwd';
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @copy 该文件代码大部分出自 umi,有需要请参考:
|
||||
* https://github.com/umijs/umi/blob/master/packages/umi/src/ServiceWithBuiltIn.ts
|
||||
*/
|
||||
|
||||
import { dirname } from 'path';
|
||||
import { Service as CoreService } from '@fesjs/compiler';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user