diff --git a/.storybook/webpack.config.js b/.storybook/webpack.config.js index 4b788fe4bf86..dc6f1f3c0059 100644 --- a/.storybook/webpack.config.js +++ b/.storybook/webpack.config.js @@ -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;