From 0c2508119b1afc0f2cd965b4a842ddccba27953b Mon Sep 17 00:00:00 2001 From: Guusvanmeerveld Date: Sat, 24 Jul 2021 23:17:15 +0200 Subject: [PATCH] Fixed 'performance' being undefined --- src/builder/builders.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/builder/builders.js b/src/builder/builders.js index 61ce961..75fca27 100644 --- a/src/builder/builders.js +++ b/src/builder/builders.js @@ -5,6 +5,8 @@ const minify = require('minify'); const sass = require('sass'); const chalk = require('chalk'); +const { performance } = require('perf_hooks'); + const sassExtension = '.sass'; const config = require(join(process.cwd(), 'builder.config.js'));