@smart-link/auto-config-traces
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -14,3 +14,3 @@ "use strict"; | ||
var tracesConfig = {}; | ||
var context; // config no traces context = require.context('__appPath/config', false, /traces.config.js/); | ||
var context; // config no traces context = require.context('__appPath/config', false, /traces.config.[jt]sx?$/); | ||
@@ -17,0 +17,0 @@ if (context) { |
@@ -5,3 +5,3 @@ import importAll from './importAll'; | ||
var tracesConfig = {}; | ||
var context; // config no traces context = require.context('__appPath/config', false, /traces.config.js/); | ||
var context; // config no traces context = require.context('__appPath/config', false, /traces.config.[jt]sx?$/); | ||
@@ -8,0 +8,0 @@ if (context) { |
@@ -7,3 +7,3 @@ export default function importAll(context) { | ||
if (fileName === 'index.js') { | ||
if (/index\.[jt]sx$/.test(fileName)) { | ||
return; | ||
@@ -10,0 +10,0 @@ } |
@@ -1,2 +0,2 @@ | ||
/** @license SmartLink-UI v0.5.0 | ||
/** @license SmartLink-UI v0.6.0 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -14,3 +14,3 @@ "use strict"; | ||
if (fileName === 'index.js') { | ||
if (/index\.[jt]sx$/.test(fileName)) { | ||
return; | ||
@@ -17,0 +17,0 @@ } |
@@ -1,2 +0,2 @@ | ||
/** @license SmartLink-UI v0.5.0 | ||
/** @license SmartLink-UI v0.6.0 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
{ | ||
"name": "@smart-link/auto-config-traces", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"private": false, | ||
@@ -25,3 +25,4 @@ "main": "./index.js", | ||
"homepage": "", | ||
"license": "MIT" | ||
"license": "MIT", | ||
"sideEffects": true | ||
} |
4626