update list of matching files
This commit is contained in:
parent
6c2b8ee2db
commit
5f96bdefd7
2
index.js
2
index.js
|
@ -6,7 +6,7 @@ require("babel-preset-es2017");
|
|||
|
||||
module.exports = function(embark) {
|
||||
|
||||
embark.registerPipeline((embark.pluginConfig.files || ['*.js', '*.jsx']), function(opts) {
|
||||
embark.registerPipeline((embark.pluginConfig.files || ['**/*.js', '**/*.jsx']), function(opts) {
|
||||
var targetFile = opts.targetFile;
|
||||
var source = opts.source;
|
||||
var presets = embark.pluginConfig.presets || ['es2015', 'es2016', 'es2017', 'react'];
|
||||
|
|
Loading…
Reference in New Issue