Skip to content

Commit e970afa

Browse files
committed
add mode util
1 parent bb778b0 commit e970afa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎lib/util/mode.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = function isProductionLikeMode(options) {
2+
return options.mode === "production" || options.mode === "defaultedProduction";
3+
};

0 commit comments

Comments
 (0)