create an env variable for debug mode

This commit is contained in:
kharhamel 2020-04-13 19:40:10 +02:00
parent 751a9f40e5
commit 33c58874e0
7 changed files with 18 additions and 11 deletions

View file

@ -29,6 +29,6 @@ module.exports = {
new webpack.ProvidePlugin({
Phaser: 'phaser'
}),
new webpack.EnvironmentPlugin(['API_URL'])
new webpack.EnvironmentPlugin(['API_URL', 'DEBUG_MODE'])
]
};