Comparing version 1.0.2 to 1.0.3
@@ -8,3 +8,3 @@ const fs = require('fs'); | ||
for (const hook of tsconfig.hooks) { | ||
for (const hook of tsconfig.hooks || []) { | ||
try { | ||
@@ -11,0 +11,0 @@ require(path.resolve(__dirname, '../hooks', `${hook}.js`))(tsconfig, TS_CONFIG_PATH); |
{ | ||
"name": "tsc-hooks", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Add tsc compiler hooks to your TypeScript project", | ||
@@ -5,0 +5,0 @@ "main": "run.js", |
14402