You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(source-maps): Use alternate source map bias only if the default returns null and the alternate does not. Remove as user option to reduce config confusion. (#303)
In an effort to reduce config options (and confusion), this removes the
sourceMapBias param from the launch config. The default source map bias
is 'leastUpperBound', which works with our published ts config in TS
Starter. This config is also used in the source-map unit tests. If
leastUpperBound fails, it will try greatestLowerBound but will not
switch to that as the preferred bias unless it succeeds.
Copy file name to clipboardExpand all lines: package.json
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -128,10 +128,6 @@
128
128
"type": "object",
129
129
"description": "Module mapping for imports. Each key is an import name that will be mapped to the provided value. Used if modules are external (i.e. included as part of minecraft). Defaults to an empty object."
130
130
},
131
-
"sourceMapBias": {
132
-
"type": "string",
133
-
"description": "The bias to use when mapping from generated code to source code. Can be either 'leastUpperBound' or 'greatestLowerBound'. Defaults to 'leastUpperBound'."
134
-
},
135
131
"targetModuleUuid": {
136
132
"type": "string",
137
133
"description": "The script module uuid from the manifest.json of the Minecraft Add-On being debugged. Necessary if there are multiple Add-Ons active."
0 commit comments