From e644f81a89e41227d57ccc79b8a94d2eb057fc6e Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Thu, 24 Nov 2022 15:23:20 +0800 Subject: [PATCH] export from --- lib/extend/index.ts | 20 ++++++++++---------- lib/models/index.ts | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/lib/extend/index.ts b/lib/extend/index.ts index 8c7aa688ea..9b1e00bedb 100644 --- a/lib/extend/index.ts +++ b/lib/extend/index.ts @@ -1,10 +1,10 @@ -export var Console = require('./console'); -export var Deployer = require('./deployer'); -export var Filter = require('./filter'); -export var Generator = require('./generator'); -export var Helper = require('./helper'); -export var Injector = require('./injector'); -export var Migrator = require('./migrator'); -export var Processor = require('./processor'); -export var Renderer = require('./renderer'); -export var Tag = require('./tag'); +export { default as Console } from './console'; +export { default as Deployer } from './deployer'; +export { default as Filter } from './filter'; +export { default as Generator } from './generator'; +export { default as Helper } from './helper'; +export { default as Injector } from './injector'; +export { default as Migrator } from './migrator'; +export { default as Processor } from './processor'; +export { default as Renderer } from './renderer'; +export { default as Tag } from './tag'; diff --git a/lib/models/index.ts b/lib/models/index.ts index ac6faf5922..d76aff60a9 100644 --- a/lib/models/index.ts +++ b/lib/models/index.ts @@ -1,10 +1,10 @@ -export var Asset = require('./asset'); -export var Cache = require('./cache'); -export var Category = require('./category'); -export var Data = require('./data'); -export var Page = require('./page'); -export var Post = require('./post'); -export var PostAsset = require('./post_asset'); -export var PostCategory = require('./post_category'); -export var PostTag = require('./post_tag'); -export var Tag = require('./tag'); +export { default as Asset } from './asset'; +export { default as Cache } from './cache'; +export { default as Category } from './category'; +export { default as Data } from './data'; +export { default as Page } from './page'; +export { default as Post } from './post'; +export { default as PostAsset } from './post_asset'; +export { default as PostCategory } from './post_category'; +export { default as PostTag } from './post_tag'; +export { default as Tag } from './tag';