mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
enables react-profiler
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user