enables react-profiler

This commit is contained in:
Ken
2019-03-04 19:36:44 -08:00
parent 8469521c75
commit fe39db85ef

View File

@@ -108,7 +108,11 @@ module.exports = function(env, argv) {
})
],
resolve: {
extensions: ['.tsx', '.ts', '.js']
extensions: ['.tsx', '.ts', '.js'],
alias: {
'react-dom$': 'react-dom/profiling',
'scheduler/tracing': 'scheduler/tracing-profiling'
}
},
output: {
filename: '[name]/bundle.js',