From be9dd782a104affe47e6df1d701d94acf412a698 Mon Sep 17 00:00:00 2001 From: Rory Abraham Date: Tue, 1 Mar 2022 12:09:40 -0800 Subject: [PATCH] Fix storybook build --- .storybook/webpack.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;