Skip to content

Commit

Permalink
export from
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Mar 11, 2023
1 parent ca8c642 commit 3ad21b9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 29 deletions.
26 changes: 11 additions & 15 deletions lib/extend/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
import Console from './console';
import Deployer from './deployer';
import Filter from './filter';
import Generator from './generator';
import Helper from './helper';
import Highlight from './syntax_highlight';
import Injector from './injector';
import Migrator from './migrator';
import Processor from './processor';
import Renderer from './renderer';
import Tag from './tag';

export default {
Console, Deployer, Filter, Generator, Helper, Highlight, Injector, Migrator, Processor, Renderer, 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 Highlight } from './syntax_highlight';
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';
24 changes: 10 additions & 14 deletions lib/models/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import Asset from './asset';
import Cache from './cache';
import Category from './category';
import Data from './data';
import Page from './page';
import Post from './post';
import PostAsset from './post_asset';
import PostCategory from './post_category';
import PostTag from './post_tag';
import Tag from './tag';

export default {
Asset, Cache, Category, Data, Page, Post, PostAsset, PostCategory, PostTag, 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';

0 comments on commit 3ad21b9

Please sign in to comment.