Skip to content

Commit

Permalink
fix: remove default export
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Apr 4, 2020
1 parent b41b1d0 commit 789da10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/loader/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import jsStringEscape from 'js-string-escape';
import * as path from 'path';
import * as webpack from 'webpack';
import { createHash } from 'crypto';
import store from './store';
import { store } from './store';

class StoriesInjectPlugin {
public static pluginName = 'stories-inject-plugin';
Expand Down
5 changes: 2 additions & 3 deletions core/loader/src/store.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { StoriesStore } from '@component-controls/specification';

const stores: StoriesStore[] = [];
export const store: StoriesStore[] = [];

export const addStoriesKind = async (added: StoriesStore) => {
stores.push(added);
store.push(added);
};
export default stores;

0 comments on commit 789da10

Please sign in to comment.