Project

General

Profile

« Previous | Next » 

Revision b8c9069d

Added by matan werbner about 7 years ago

Fixes #18438 - control notifications polling

View differences:

config/webpack.config.js
allChunks: true
}),
new webpack.DefinePlugin({
'process.env': { NODE_ENV: JSON.stringify(production ? 'production' : 'development') }
'process.env': {
NODE_ENV: JSON.stringify(production ? 'production' : 'development'),
NOTIFICATIONS_POLLING: process.env.NOTIFICATIONS_POLLING
}
})
]
};
......
compressor: { warnings: false },
sourceMap: false
}),
new webpack.optimize.DedupePlugin(),
new webpack.optimize.OccurenceOrderPlugin(),
new CompressionPlugin()

Also available in: Unified diff