File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ const getArray = (source: ?Condition): Array<Condition> => {
3838 return Array . isArray ( source ) ? source : [ source ] ;
3939} ;
4040
41- const include = ( config : ConfigType , ...includes : Array < Condition > ) => {
41+ export const include = ( config : ConfigType , ...includes : Array < Condition > ) => {
4242 const babel_loader : LoaderRule = getBabelLoader ( config . module . rules ) ;
4343
4444 const include_config = getArray ( babel_loader . include ) ;
@@ -57,7 +57,7 @@ const include = (config: ConfigType, ...includes: Array<Condition>) => {
5757 return config ;
5858} ;
5959
60- const exclude = ( config : ConfigType , ...excludes : Array < Condition > ) => {
60+ export const exclude = ( config : ConfigType , ...excludes : Array < Condition > ) => {
6161 const babel_loader : LoaderRule = getBabelLoader ( config . module . rules ) ;
6262
6363 const exclude_config = getArray ( babel_loader . exclude ) ;
@@ -75,8 +75,3 @@ const exclude = (config: ConfigType, ...excludes: Array<Condition>) => {
7575
7676 return config ;
7777} ;
78-
79- module . exports = {
80- include,
81- exclude
82- } ;
You can’t perform that action at this time.
0 commit comments