electron-compile-cache
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -73,4 +73,4 @@ 'use strict'; | ||
// If we're in node_modules, we're gonna punt | ||
if (fullPath.match(/[\\\/]node_modules[\\\/]/i)) return false; | ||
// If we're in node_modules or in Electron core code, we're gonna punt | ||
if (fullPath.match(/[\\\/]node_modules[\\\/]/i) || fullPath.match(/[\\\/]atom\.asar/)) return false; | ||
@@ -77,0 +77,0 @@ // NB: require() normally does this for us, but in our protocol hook we |
{ | ||
"name": "electron-compile-cache", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Base class for compilers in electron-compile, use this to implement your own compiler", | ||
@@ -5,0 +5,0 @@ "main": "lib/compile-cache.js", |
@@ -39,4 +39,4 @@ import crypto from 'crypto'; | ||
// If we're in node_modules, we're gonna punt | ||
if (fullPath.match(/[\\\/]node_modules[\\\/]/i)) return false; | ||
// If we're in node_modules or in Electron core code, we're gonna punt | ||
if (fullPath.match(/[\\\/]node_modules[\\\/]/i) || fullPath.match(/[\\\/]atom\.asar/)) return false; | ||
@@ -43,0 +43,0 @@ // NB: require() normally does this for us, but in our protocol hook we |
15437