0
0
Fork 0

Add improved performance marks for development mode (#3297)

This commit is contained in:
Nolan Lawson 2017-05-25 05:09:55 -07:00 committed by Eugen Rochko
parent 531c1bb245
commit 2469fd1cdc
5 changed files with 46 additions and 1 deletions

View file

@ -0,0 +1,8 @@
if (process.env.NODE_ENV === 'production') {
module.exports = {};
} else {
module.exports = {
test: /\.js$/,
loader: 'mark-loader',
};
}