Add improved performance marks for development mode (#3297)
This commit is contained in:
committed by
Eugen Rochko
parent
531c1bb245
commit
2469fd1cdc
8
config/webpack/loaders/mark.js
Normal file
8
config/webpack/loaders/mark.js
Normal file
@ -0,0 +1,8 @@
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = {};
|
||||
} else {
|
||||
module.exports = {
|
||||
test: /\.js$/,
|
||||
loader: 'mark-loader',
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user