8000 chore: fix typo in moduleid-compat-loader.js (#9776) · NativeScript/NativeScript@1601caf · GitHub
[go: up one dir, main page]

Skip to content

Commit 1601caf

Browse files
author
Ikko Ashimine
authored
chore: fix typo in moduleid-compat-loader.js (#9776)
occurences -> occurrences
1 parent 980eb21 commit 1601caf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/webpack/helpers/moduleid-compat-loader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
module.exports = function (source, map) {
77
this.cacheable();
88

9-
// Strips occurences of `moduleId: module.id,`, since it is no longer needed for webpack builds
9+
// Strips occurrences of `moduleId: module.id,`, since it is no longer needed for webpack builds
1010
const noModuleIdsSource = source.replace(/moduleId\:\s*module\.id\s*(\,)?/g, result =>
1111
// Try to preserve char count so sourcemaps may remain intact
1212
"/*" + result.substring(2, result.length - 2) + "*/"
1313
);
1414

1515
this.callback(null, noModuleIdsSource, map);
16-
};
16+
};

0 commit comments

Comments
 (0)
0