mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
chore: fix typo in moduleid-compat-loader.js (#9776)
occurences -> occurrences
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
module.exports = function (source, map) {
|
||||
this.cacheable();
|
||||
|
||||
// Strips occurences of `moduleId: module.id,`, since it is no longer needed for webpack builds
|
||||
// Strips occurrences of `moduleId: module.id,`, since it is no longer needed for webpack builds
|
||||
const noModuleIdsSource = source.replace(/moduleId\:\s*module\.id\s*(\,)?/g, result =>
|
||||
// Try to preserve char count so sourcemaps may remain intact
|
||||
"/*" + result.substring(2, result.length - 2) + "*/"
|
||||
|
Reference in New Issue
Block a user