Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
psychobolt committed May 29, 2019
2 parents c6a68a1 + 4a368f4 commit 683be8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.system.node.resolve_dirname=src
esproposal.export_star_as=enable
esproposal.optional_chaining=enable
module.name_mapper='^\(.*\)\.\(frag\|vert\|mp3\)$' -> '<PROJECT_ROOT>/RAWFlowStub.js.flow'
include_warnings=true

[lints]
deprecated-utility=warn
5 changes: 0 additions & 5 deletions .storybook/config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import '@storybook/addon-console';
import { configure } from '@storybook/react';

const reqMain = require.context('../stories', true, /\.?stories\.js$/);
const reqLib = require.context('../src', true, /\.?stories\.js$/);

function loadStories() {
require('../stories'); // eslint-disable-line global-require
reqMain.keys().forEach(filename => reqMain(filename));
reqLib.keys().forEach(filename => reqLib(filename));
}

configure(loadStories, module);

0 comments on commit 683be8d

Please sign in to comment.