We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 632bd3d commit af3431dCopy full SHA for af3431d
lib/ContextModuleFactory.js
@@ -174,8 +174,8 @@ module.exports = class ContextModuleFactory extends Tapable {
174
if (!files || files.length === 0) return callback(null, []);
175
asyncLib.map(
176
files.filter(p => p.indexOf(".") !== 0),
177
- (seqment, callback) => {
178
- const subResource = path.join(directory, seqment);
+ (segment, callback) => {
+ const subResource = path.join(directory, segment);
179
180
if (!exclude || !subResource.match(exclude)) {
181
fs.stat(subResource, (err, stat) => {
0 commit comments