File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,13 @@ karmatic '**/*Spec.jsx?'
4141```
4242
4343
44+ ## FAQ
45+
46+ ** Q** : [ Is there an FAQ?] ( https://twitter.com/gauntface/status/956259291928776704 ) **
47+
48+ > Yes.
49+
50+
4451## License
4552
4653[ MIT] ( https://oss.ninja/mit/developit ) © [ developit] ( https://github.com/developit )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import cssLoader from './lib/css-loader';
88export default function configure ( options ) {
99 let cwd = process . cwd ( ) ,
1010 res = file => path . resolve ( cwd , file ) ;
11-
11+
1212 let files = options . files . filter ( Boolean ) ;
1313 if ( ! files . length ) files = [ '**/{*.test.js,*_test.js}' ] ;
1414
@@ -171,7 +171,7 @@ export default function configure(options) {
171171 } ) ,
172172 plugins : ( webpackConfig . plugins || [ ] ) . filter ( plugin => {
173173 let name = plugin && plugin . constructor . name ;
174- return / ^ \s * ( U g l i f y J S P l u g i n | H T M L W e b p a c k P l u g i n | E x t r a c t T e x t P l u g i n ) \s * $ / gi. test ( name ) ;
174+ return / ^ \s * ( U g l i f y J S | H T M L | E x t r a c t T e x t | B a b e l M i n i f y ) ( . * W e b p a c k ) ? P l u g i n \s * $ / gi. test ( name ) ;
175175 } )
176176 } ,
177177
@@ -189,4 +189,4 @@ export default function configure(options) {
189189 }
190190 }
191191 } ;
192- }
192+ }
You can’t perform that action at this time.
0 commit comments