Skip to content

Commit

Permalink
Fix storybook build
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Mar 1, 2022
1 parent cc37830 commit be9dd78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
const path = require('path');
const dotenv = require('dotenv');
const _ = require('underscore');
const custom = require('../config/webpack/webpack.common');
const custom = require('../config/webpack/webpack.common')({
envFile: '../.env.production',
});

const env = dotenv.config({path: path.resolve(__dirname, '../.env.staging')}).parsed;

Expand Down

0 comments on commit be9dd78

Please sign in to comment.