mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-28 08:13:05 +00:00
better game join logic, create dev and prod configs
This commit is contained in:
@@ -42,6 +42,9 @@ export default (env, argv) => {
|
||||
new webpack.DefinePlugin({
|
||||
'process.env.WEBSOCKET_URL': JSON.stringify(isProduction ? '' : 'localhost:3000')
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
'process.env.GAME_ENV': JSON.stringify(isProduction ? 'prod' : 'dev')
|
||||
}),
|
||||
],
|
||||
devServer: isProduction ? {} : {
|
||||
static: {
|
||||
|
||||
Reference in New Issue
Block a user