mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-25 11:06:36 +08:00
fix: export Generator
This commit is contained in:
parent
47e07173ad
commit
5a5d809522
@ -2,10 +2,11 @@ import {
|
|||||||
copyFileSync, readFileSync, statSync, writeFileSync
|
copyFileSync, readFileSync, statSync, writeFileSync
|
||||||
} from 'fs';
|
} from 'fs';
|
||||||
import { dirname, relative, join } from 'path';
|
import { dirname, relative, join } from 'path';
|
||||||
import {
|
|
||||||
chalk, mkdirp, Mustache, glob
|
|
||||||
} from './index';
|
|
||||||
|
|
||||||
|
import chalk from 'chalk';
|
||||||
|
import mkdirp from 'mkdirp';
|
||||||
|
import glob from 'glob';
|
||||||
|
import Mustache from 'mustache';
|
||||||
|
|
||||||
class Generator {
|
class Generator {
|
||||||
cwd;
|
cwd;
|
||||||
|
@ -15,6 +15,7 @@ import portfinder from 'portfinder';
|
|||||||
import resolve from 'resolve';
|
import resolve from 'resolve';
|
||||||
import Mustache from 'mustache';
|
import Mustache from 'mustache';
|
||||||
|
|
||||||
|
import Generator from './Generator';
|
||||||
import winPath from './winPath';
|
import winPath from './winPath';
|
||||||
import delay from './delay';
|
import delay from './delay';
|
||||||
import compatESModuleRequire from './compatESModuleRequire';
|
import compatESModuleRequire from './compatESModuleRequire';
|
||||||
@ -42,6 +43,7 @@ export {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export {
|
export {
|
||||||
|
Generator,
|
||||||
winPath,
|
winPath,
|
||||||
delay,
|
delay,
|
||||||
compatESModuleRequire,
|
compatESModuleRequire,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user