Skip to content

Commit 3b9d236

Browse files
committed
Merge branch 'master' of github.com:developit/karmatic
2 parents 268f37c + 089ba0b commit 3b9d236

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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)

src/configure.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import cssLoader from './lib/css-loader';
88
export 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*(UglifyJSPlugin|HTMLWebpackPlugin|ExtractTextPlugin)\s*$/gi.test(name);
174+
return /^\s*(UglifyJS|HTML|ExtractText|BabelMinify)(.*Webpack)?Plugin\s*$/gi.test(name);
175175
})
176176
},
177177

@@ -189,4 +189,4 @@ export default function configure(options) {
189189
}
190190
}
191191
};
192-
}
192+
}

0 commit comments

Comments
 (0)