Skip to content

Commit 96f9311

Browse files
committed
feat(featuresloader): allow to use featuresLoader with Webpack
1 parent 3ae6430 commit 96f9311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/featuresLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const createCucumber = (
5959
.join("\n")}
6060
`;
6161

62-
module.exports = function(_, filePath) {
62+
module.exports = function(_, filePath = this.resourcePath) {
6363
log("compiling", filePath);
6464

6565
const features = glob.sync(`${path.dirname(filePath)}/**/*.feature`);

0 commit comments

Comments
 (0)