From 9ad6fdc00e6a28ffd6062823f9870a505e8115cb Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Wed, 7 Feb 2024 17:04:44 +0100 Subject: [PATCH] fix: workadventure env --- webpack.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webpack.config.ts b/webpack.config.ts index 703058d..9405ac4 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -273,6 +273,11 @@ module.exports = { patterns: resources, }), new webpack.EnvironmentPlugin({ + WORKADVENTURE_URL: process.env.WORKADVENTURE_URL + ? JSON.stringify(process.env.WORKADVENTURE_URL) + : null, + }), + new webpack.DefinePlugin({ "process.env.WORKADVENTURE_URL": process.env.WORKADVENTURE_URL ? JSON.stringify(process.env.WORKADVENTURE_URL) : null,