|
|
@@ -1,22 +1,19 @@
|
|
|
import * as _pathUtils from './utils/path-utils';
|
|
|
+import * as _envUtils from './utils/env-utils';
|
|
|
import * as _pagePathUtils from './utils/page-path-utils';
|
|
|
import * as _templateChecker from './utils/template-checker';
|
|
|
-
|
|
|
-// module.exports = {
|
|
|
-// BasicInterceptor: require('./utils/basic-interceptor'),
|
|
|
-// envUtils: require('./utils/env-utils'),
|
|
|
-// // plugin
|
|
|
-// customTagUtils: require('./plugin/util/custom-tag-utils'),
|
|
|
-// TagCacheManager: require('./plugin/service/tag-cache-manager'),
|
|
|
-// // service
|
|
|
-// LocalStorageManager: require('./service/localstorage-manager'),
|
|
|
-// };
|
|
|
-
|
|
|
-export * from './plugin/interfaces/plugin-definition-v4';
|
|
|
-export * from './models/devided-page-path';
|
|
|
-export * from './utils/mongoose-utils';
|
|
|
+import * as _customTagUtils from './plugin/util/custom-tag-utils';
|
|
|
|
|
|
// export utils
|
|
|
export const pathUtils = _pathUtils;
|
|
|
+export const envUtils = _envUtils;
|
|
|
export const pagePathUtils = _pagePathUtils;
|
|
|
export const templateChecker = _templateChecker;
|
|
|
+export const customTagUtils = _customTagUtils;
|
|
|
+
|
|
|
+export * from './plugin/interfaces/plugin-definition-v4';
|
|
|
+export * from './plugin/service/tag-cache-manager';
|
|
|
+export * from './models/devided-page-path';
|
|
|
+export * from './service/localstorage-manager';
|
|
|
+export * from './utils/basic-interceptor';
|
|
|
+export * from './utils/mongoose-utils';
|