react-app-alias
Advanced tools
Comparing version 2.2.1 to 2.2.2
{ | ||
"name": "react-app-alias", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Alias for craco or rewire react app", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -146,4 +146,6 @@ const fs = require('fs') | ||
const extPath = extUrl ? path.resolve(confdir, extUrl) : '' | ||
if(extPath && !fs.existsSync(extPath)) | ||
throw Error(`react-app-alias:readConfig: '${confPath}' field 'extends' is '${extPath}' - not exists'`) | ||
conf.extends = extUrl ? require(extPath) : {} | ||
return conf | ||
@@ -150,0 +152,0 @@ } |
7887
214