@expo/metro-config
Advanced tools
Comparing version 0.18.10 to 0.18.11
@@ -32,2 +32,5 @@ "use strict"; | ||
} | ||
const sourceMapString = typeof sourceMapString_1.default !== 'function' | ||
? sourceMapString_1.default.sourceMapString | ||
: sourceMapString_1.default; | ||
async function graphToSerialAssetsAsync(config, serializeChunkOptions, ...props) { | ||
@@ -339,3 +342,3 @@ const [entryFile, preModules, graph, options] = props; | ||
// TODO: We may not need to mutate the original source map with a `debugId` when hermes is enabled since we'll have different source maps. | ||
const sourceMap = mutateSourceMapWithDebugId((0, sourceMapString_1.default)(modules, { | ||
const sourceMap = mutateSourceMapWithDebugId(sourceMapString(modules, { | ||
excludeSource: false, | ||
@@ -342,0 +345,0 @@ ...this.options, |
@@ -21,2 +21,5 @@ "use strict"; | ||
const env_1 = require("../env"); | ||
const sourceMapString = typeof sourceMapString_1.default !== 'function' | ||
? sourceMapString_1.default.sourceMapString | ||
: sourceMapString_1.default; | ||
function withExpoSerializers(config, options = {}) { | ||
@@ -89,3 +92,3 @@ const processors = []; | ||
const getEnsuredMaps = () => { | ||
bundleMap ??= (0, sourceMapString_1.default)([...premodulesToBundle, ...(0, serializeChunks_1.getSortedModules)([...graph.dependencies.values()], options)], { | ||
bundleMap ??= sourceMapString([...premodulesToBundle, ...(0, serializeChunks_1.getSortedModules)([...graph.dependencies.values()], options)], { | ||
// TODO: Surface this somehow. | ||
@@ -92,0 +95,0 @@ excludeSource: false, |
{ | ||
"name": "@expo/metro-config", | ||
"version": "0.18.10", | ||
"version": "0.18.11", | ||
"description": "A Metro config for running React Native projects with the Metro bundler", | ||
@@ -63,3 +63,3 @@ "main": "build/ExpoMetroConfig.js", | ||
}, | ||
"gitHead": "89cb316cd1f16193ae9841d2aec2ae39e0ee00bb" | ||
"gitHead": "5eabe81f73e7c807717ade329e613ecc67033689" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
274559
3928