Add environment variable check for DEVURL
This commit is contained in:
@@ -15,7 +15,7 @@ module.exports = {
|
|||||||
new webpack.HotModuleReplacementPlugin(),
|
new webpack.HotModuleReplacementPlugin(),
|
||||||
new webpack.NoEmitOnErrorsPlugin(),
|
new webpack.NoEmitOnErrorsPlugin(),
|
||||||
new BrowserSyncPlugin({
|
new BrowserSyncPlugin({
|
||||||
target: config.devUrl,
|
target: process.env.DEVURL || config.devUrl,
|
||||||
proxyUrl: config.proxyUrl,
|
proxyUrl: config.proxyUrl,
|
||||||
watch: config.watch,
|
watch: config.watch,
|
||||||
delay: 500,
|
delay: 500,
|
||||||
|
|||||||
Reference in New Issue
Block a user