Skip to content

Commit

Permalink
fix webpack contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
Quramy committed Jan 7, 2018
1 parent 44ec5d3 commit c419955
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cli/generators/ANGULAR/template/.storybook/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { configure } from '@storybook/angular';

// automatically import all files ending in *.stories.ts
const req = require.context('../stories', true, /.stories.ts$/);
const req = require.context('../src/stories', true, /.stories.ts$/);
function loadStories() {
req.keys().forEach((filename) => req(filename));
}
Expand Down
2 changes: 1 addition & 1 deletion lib/cli/test/snapshots/angular-cli/.storybook/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { configure } from '@storybook/angular';

// automatically import all files ending in *.stories.ts
const req = require.context('../stories', true, /.stories.ts$/);
const req = require.context('../src/stories', true, /.stories.ts$/);
function loadStories() {
req.keys().forEach((filename) => req(filename));
}
Expand Down

0 comments on commit c419955

Please sign in to comment.