@expo/metro-config 0.17.2 → 0.17.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ExpoMetroConfig.js +239 -366
- package/build/ExpoMetroConfig.js.map +1 -1
- package/build/babel-core.js +6 -23
- package/build/babel-core.js.map +1 -1
- package/build/babel-transformer.js +117 -162
- package/build/babel-transformer.js.map +1 -1
- package/build/customizeFrame.js +84 -78
- package/build/customizeFrame.js.map +1 -1
- package/build/env.js +23 -37
- package/build/env.js.map +1 -1
- package/build/file-store.js +13 -21
- package/build/file-store.js.map +1 -1
- package/build/getModulesPaths.js +31 -48
- package/build/getModulesPaths.js.map +1 -1
- package/build/getWatchFolders.js +70 -98
- package/build/getWatchFolders.js.map +1 -1
- package/build/loadBabelConfig.js +30 -49
- package/build/loadBabelConfig.js.map +1 -1
- package/build/rewriteRequestUrl.js +82 -142
- package/build/rewriteRequestUrl.js.map +1 -1
- package/build/serializer/debugId.js +23 -22
- package/build/serializer/debugId.js.map +1 -1
- package/build/serializer/environmentVariableSerializerPlugin.js +90 -101
- package/build/serializer/environmentVariableSerializerPlugin.js.map +1 -1
- package/build/serializer/exportHermes.js +96 -133
- package/build/serializer/exportHermes.js.map +1 -1
- package/build/serializer/exportPath.js +18 -35
- package/build/serializer/exportPath.js.map +1 -1
- package/build/serializer/fork/baseJSBundle.js +124 -147
- package/build/serializer/fork/baseJSBundle.js.map +1 -1
- package/build/serializer/fork/js.js +81 -116
- package/build/serializer/fork/js.js.map +1 -1
- package/build/serializer/fork/processModules.js +22 -36
- package/build/serializer/fork/processModules.js.map +1 -1
- package/build/serializer/getCssDeps.js +64 -95
- package/build/serializer/getCssDeps.js.map +1 -1
- package/build/serializer/jsOutput.js +6 -16
- package/build/serializer/jsOutput.js.map +1 -1
- package/build/serializer/serializeChunks.js +406 -483
- package/build/serializer/serializeChunks.js.map +1 -1
- package/build/serializer/serializerAssets.js +1 -0
- package/build/serializer/serializerAssets.js.map +1 -1
- package/build/serializer/withExpoSerializers.js +165 -236
- package/build/serializer/withExpoSerializers.js.map +1 -1
- package/build/transform-worker/asset-transformer.js +21 -44
- package/build/transform-worker/asset-transformer.js.map +1 -1
- package/build/transform-worker/css-modules.js +57 -84
- package/build/transform-worker/css-modules.js.map +1 -1
- package/build/transform-worker/css.js +21 -20
- package/build/transform-worker/css.js.map +1 -1
- package/build/transform-worker/getAssets.js +38 -75
- package/build/transform-worker/getAssets.js.map +1 -1
- package/build/transform-worker/metro-transform-worker.js +384 -489
- package/build/transform-worker/metro-transform-worker.js.map +1 -1
- package/build/transform-worker/postcss.js +176 -233
- package/build/transform-worker/postcss.js.map +1 -1
- package/build/transform-worker/sass.js +30 -38
- package/build/transform-worker/sass.js.map +1 -1
- package/build/transform-worker/transform-worker.js +156 -188
- package/build/transform-worker/transform-worker.js.map +1 -1
- package/build/transform-worker/utils/require.js +30 -28
- package/build/transform-worker/utils/require.js.map +1 -1
- package/build/transformSync.js +40 -28
- package/build/transformSync.js.map +1 -1
- package/build/transformer/createExoticTransformer.js +96 -129
- package/build/transformer/createExoticTransformer.js.map +1 -1
- package/build/transformer/createMatcher.js +37 -46
- package/build/transformer/createMatcher.js.map +1 -1
- package/build/transformer/createMultiRuleTransformer.js +170 -240
- package/build/transformer/createMultiRuleTransformer.js.map +1 -1
- package/build/transformer/generateFunctionMap.js +20 -23
- package/build/transformer/generateFunctionMap.js.map +1 -1
- package/build/transformer/getBabelConfig.js +94 -127
- package/build/transformer/getBabelConfig.js.map +1 -1
- package/build/transformer/getCacheKey.js +17 -31
- package/build/transformer/getCacheKey.js.map +1 -1
- package/build/transformer/index.js +11 -62
- package/build/transformer/index.js.map +1 -1
- package/build/transformer/metro-expo-exotic-babel-transformer.js +3 -12
- package/build/transformer/metro-expo-exotic-babel-transformer.js.map +1 -1
- package/build/traveling/metro-config.js +12 -19
- package/build/traveling/metro-config.js.map +1 -1
- package/build/utils/hash.js +8 -14
- package/build/utils/hash.js.map +1 -1
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serializeChunks.js","names":["_assert","data","_interopRequireDefault","require","_sourceMapString","_bundleToString","_path","_debugId","_exportHermes","_exportPath","_baseJSBundle","_getCssDeps","_getAssets","obj","__esModule","default","pathToRegex","path","regexSafePath","replace","RegExp","graphToSerialAssetsAsync","config","serializeChunkOptions","props","_config$serializer","_baseUrl$replace","_config$transformer$a","_config$transformer","_getPlatformOption","entryFile","preModules","graph","options","cssDeps","getCssSerialAssets","dependencies","projectRoot","processModuleFilter","chunks","Set","test","map","chunkSettings","gatherChunks","entryChunk","values","find","chunk","isAsync","hasAbsolutePath","dep","deps","has","delete","toCompare","commonDependencies","length","shift","chunk2","commonDeps","filter","push","add","jsAssets","serializeChunksAsync","serializer","isExporting","baseUrl","getBaseUrlOption","serializerOptions","assetPublicUrl","publicPath","transformOptions","platform","metroAssets","getMetroAssets","assetPlugins","transformer","getPlatformOption","artifacts","assets","Chunk","requiredChunks","constructor","name","entries","isVendor","getPlatform","assert","getFilename","src","dev","getExportPathForDependencyWithOptions","serverRoot","getStableChunkSource","serializerConfig","serializeToCodeWithTemplates","includeSourceMaps","sourceMapUrl","undefined","debugId","getFilenameForConfig","_serializerConfig$get","_serializerConfig$get2","jsSplitBundle","baseJSBundleWithDependencies","runBeforeMainModule","getModulesRunBeforeMainModule","call","relative","runModule","modulesOnly","size","splitChunks","getSplitChunksOption","skipWrapping","computedAsyncModulePaths","bundleToString","code","absolutePath","some","module","getComputedPathsForAsyncDependencies","includeAsyncPaths","forEach","dependency","asyncType","chunkContainingModule","moduleIdName","getAdjustedSourceMapUrl","_this$options$seriali","_this$options$sourceM","inlineSourceMap","_this$options$sourceM2","isAbsolute","filename","isAbsoluteBaseUrl","match","pathname","adjustedSourceMapUrl","startsWith","parsed","URL","href","error","console","serializeToCode","_this$getAdjustedSour","serializeToAssetsAsync","includeBytecode","unstable_beforeAssetSerializationPlugins","outputFile","stringToUUID","basename","extname","premodules","plugin","jsCode","relativeEntry","jsAsset","originFilename","type","metadata","requires","modulePaths","source","mutateSourceMapWithDebugId","sourceMap","sourceMapObject","JSON","parse","stringify","modules","getSortedModules","createModuleId","_this$options$serverR","sourceMapString","excludeSource","isHermesEnabled","adjustedSource","mapName","hermesBundleOutput","buildHermesBundleAsync","minify","hbc","sourcemap","supportsBytecode","_this$graph$transform","customTransformOptions","engine","exports","getEntryModulesForChunkSettings","settings","chunkIdForModules","sort","join","entryModules","existingChunks","includes","includeModule","entryModule","get","chunksArray","Promise","all","a","b"],"sources":["../../src/serializer/serializeChunks.ts"],"sourcesContent":["/**\n * Copyright © 2023 650 Industries.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport assert from 'assert';\nimport {\n AssetData,\n MetroConfig,\n MixedOutput,\n Module,\n ReadOnlyGraph,\n SerializerOptions,\n} from 'metro';\nimport sourceMapString from 'metro/src/DeltaBundler/Serializers/sourceMapString';\nimport bundleToString from 'metro/src/lib/bundleToString';\nimport { ConfigT, SerializerConfigT } from 'metro-config';\nimport path from 'path';\n\nimport { stringToUUID } from './debugId';\nimport { buildHermesBundleAsync } from './exportHermes';\nimport { getExportPathForDependencyWithOptions } from './exportPath';\nimport {\n ExpoSerializerOptions,\n baseJSBundleWithDependencies,\n getBaseUrlOption,\n getPlatformOption,\n getSplitChunksOption,\n} from './fork/baseJSBundle';\nimport { getCssSerialAssets } from './getCssDeps';\nimport { SerialAsset } from './serializerAssets';\nimport { SerializerConfigOptions } from './withExpoSerializers';\nimport getMetroAssets from '../transform-worker/getAssets';\n\ntype Serializer = NonNullable<ConfigT['serializer']['customSerializer']>;\n\ntype SerializerParameters = Parameters<Serializer>;\n\ntype ChunkSettings = {\n /** Match the initial modules. */\n test: RegExp;\n};\n\nexport type SerializeChunkOptions = {\n includeSourceMaps: boolean;\n includeBytecode: boolean;\n} & SerializerConfigOptions;\n\n// Convert file paths to regex matchers.\nfunction pathToRegex(path: string) {\n // Escape regex special characters, except for '*'\n let regexSafePath = path.replace(/[-[\\]{}()+?.,\\\\^$|#\\s]/g, '\\\\$&');\n\n // Replace '*' with '.*' to act as a wildcard in regex\n regexSafePath = regexSafePath.replace(/\\*/g, '.*');\n\n // Create a RegExp object with the modified string\n return new RegExp('^' + regexSafePath + '$');\n}\n\nexport async function graphToSerialAssetsAsync(\n config: MetroConfig,\n serializeChunkOptions: SerializeChunkOptions,\n ...props: SerializerParameters\n): Promise<{ artifacts: SerialAsset[] | null; assets: AssetData[] }> {\n const [entryFile, preModules, graph, options] = props;\n\n const cssDeps = getCssSerialAssets<MixedOutput>(graph.dependencies, {\n projectRoot: options.projectRoot,\n processModuleFilter: options.processModuleFilter,\n });\n\n // Create chunks for splitting.\n const chunks = new Set<Chunk>();\n\n [\n {\n test: pathToRegex(entryFile),\n },\n ].map((chunkSettings) => gatherChunks(chunks, chunkSettings, preModules, graph, options, false));\n\n // Get the common modules and extract them into a separate chunk.\n const entryChunk = [...chunks.values()].find(\n (chunk) => !chunk.isAsync && chunk.hasAbsolutePath(entryFile)\n );\n if (entryChunk) {\n for (const chunk of chunks.values()) {\n if (chunk !== entryChunk && chunk.isAsync) {\n for (const dep of chunk.deps.values()) {\n if (entryChunk.deps.has(dep)) {\n // Remove the dependency from the async chunk since it will be loaded in the main chunk.\n chunk.deps.delete(dep);\n }\n }\n }\n }\n\n const toCompare = [...chunks.values()];\n\n const commonDependencies = [];\n\n while (toCompare.length) {\n const chunk = toCompare.shift()!;\n for (const chunk2 of toCompare) {\n if (chunk !== chunk2 && chunk.isAsync && chunk2.isAsync) {\n const commonDeps = [...chunk.deps].filter((dep) => chunk2.deps.has(dep));\n\n for (const dep of commonDeps) {\n chunk.deps.delete(dep);\n chunk2.deps.delete(dep);\n }\n\n commonDependencies.push(...commonDeps);\n }\n }\n }\n\n // If common dependencies were found, extract them to the entry chunk.\n // TODO: Extract the metro-runtime to a common chunk apart from the entry chunk then load the common dependencies before the entry chunk.\n if (commonDependencies.length) {\n for (const dep of commonDependencies) {\n entryChunk.deps.add(dep);\n }\n // const commonDependenciesUnique = [...new Set(commonDependencies)];\n // const commonChunk = new Chunk(\n // chunkIdForModules(commonDependenciesUnique),\n // commonDependenciesUnique,\n // graph,\n // options,\n // false,\n // true\n // );\n // entryChunk.requiredChunks.add(commonChunk);\n // chunks.add(commonChunk);\n }\n\n // TODO: Optimize this pass more.\n // Remove all dependencies from async chunks that are already in the common chunk.\n for (const chunk of [...chunks.values()]) {\n if (chunk !== entryChunk) {\n for (const dep of chunk.deps) {\n if (entryChunk.deps.has(dep)) {\n chunk.deps.delete(dep);\n }\n }\n }\n }\n }\n\n const jsAssets = await serializeChunksAsync(\n chunks,\n config.serializer ?? {},\n serializeChunkOptions\n );\n\n // TODO: Can this be anything besides true?\n const isExporting = true;\n const baseUrl = getBaseUrlOption(graph, { serializerOptions: serializeChunkOptions });\n const assetPublicUrl = (baseUrl.replace(/\\/+$/, '') ?? '') + '/assets';\n const publicPath = isExporting\n ? graph.transformOptions.platform === 'web'\n ? `/assets?export_path=${assetPublicUrl}`\n : assetPublicUrl\n : '/assets/?unstable_path=.';\n\n // TODO: Convert to serial assets\n // TODO: Disable this call dynamically in development since assets are fetched differently.\n const metroAssets = (await getMetroAssets(graph.dependencies, {\n processModuleFilter: options.processModuleFilter,\n assetPlugins: config.transformer?.assetPlugins ?? [],\n platform: getPlatformOption(graph, options) ?? 'web',\n projectRoot: options.projectRoot, // this._getServerRootDir(),\n publicPath,\n })) as AssetData[];\n\n return { artifacts: [...jsAssets, ...cssDeps], assets: metroAssets };\n}\n\nexport class Chunk {\n public deps: Set<Module> = new Set();\n public preModules: Set<Module> = new Set();\n\n // Chunks that are required to be loaded synchronously before this chunk.\n // These are included in the HTML as <script> tags.\n public requiredChunks: Set<Chunk> = new Set();\n\n constructor(\n public name: string,\n public entries: Module<MixedOutput>[],\n public graph: ReadOnlyGraph<MixedOutput>,\n public options: ExpoSerializerOptions,\n public isAsync: boolean = false,\n public isVendor: boolean = false\n ) {\n this.deps = new Set(entries);\n }\n\n private getPlatform() {\n assert(\n this.graph.transformOptions.platform,\n \"platform is required to be in graph's transformOptions\"\n );\n return this.graph.transformOptions.platform;\n }\n\n private getFilename(src: string) {\n return this.options.dev\n ? this.name\n : getExportPathForDependencyWithOptions(this.name, {\n platform: this.getPlatform(),\n src,\n serverRoot: this.options.serverRoot,\n });\n }\n\n private getStableChunkSource(serializerConfig: Partial<SerializerConfigT>) {\n return this.options.dev\n ? ''\n : this.serializeToCodeWithTemplates(serializerConfig, {\n // Disable source maps when creating a sha to reduce the number of possible changes that could\n // influence the cache hit.\n serializerOptions: {\n includeSourceMaps: false,\n },\n sourceMapUrl: undefined,\n debugId: undefined,\n });\n }\n\n private getFilenameForConfig(serializerConfig: Partial<SerializerConfigT>) {\n return this.getFilename(this.getStableChunkSource(serializerConfig));\n }\n\n private serializeToCodeWithTemplates(\n serializerConfig: Partial<SerializerConfigT>,\n options: Partial<Parameters<typeof baseJSBundleWithDependencies>[3]> = {}\n ) {\n const entryFile = this.name;\n\n // TODO: Disable all debugId steps when a dev server is enabled. This is an export-only feature.\n\n const preModules = [...this.preModules.values()];\n const dependencies = [...this.deps];\n\n const jsSplitBundle = baseJSBundleWithDependencies(entryFile, preModules, dependencies, {\n ...this.options,\n runBeforeMainModule:\n serializerConfig?.getModulesRunBeforeMainModule?.(\n path.relative(this.options.projectRoot, entryFile)\n ) ?? [],\n runModule: !this.isVendor && !this.isAsync,\n modulesOnly: this.preModules.size === 0,\n platform: this.getPlatform(),\n baseUrl: getBaseUrlOption(this.graph, this.options),\n splitChunks: getSplitChunksOption(this.graph, this.options),\n skipWrapping: true,\n computedAsyncModulePaths: null,\n ...options,\n });\n\n return bundleToString(jsSplitBundle).code;\n }\n\n hasAbsolutePath(absolutePath: string): boolean {\n return [...this.deps].some((module) => module.path === absolutePath);\n }\n\n private getComputedPathsForAsyncDependencies(\n serializerConfig: Partial<SerializerConfigT>,\n chunks: Chunk[]\n ) {\n const baseUrl = getBaseUrlOption(this.graph, this.options);\n // Only calculate production paths when all chunks are being exported.\n if (this.options.includeAsyncPaths) {\n return null;\n }\n const computedAsyncModulePaths: Record<string, string> = {};\n\n this.deps.forEach((module) => {\n module.dependencies.forEach((dependency) => {\n if (dependency.data.data.asyncType === 'async') {\n const chunkContainingModule = chunks.find((chunk) =>\n chunk.hasAbsolutePath(dependency.absolutePath)\n );\n assert(\n chunkContainingModule,\n 'Chunk containing module not found: ' + dependency.absolutePath\n );\n const moduleIdName = chunkContainingModule.getFilenameForConfig(serializerConfig);\n computedAsyncModulePaths![dependency.absolutePath] = (baseUrl ?? '/') + moduleIdName;\n }\n });\n });\n return computedAsyncModulePaths;\n }\n\n private getAdjustedSourceMapUrl(serializerConfig: Partial<SerializerConfigT>): string | null {\n // Metro really only accounts for development, so we'll use the defaults here.\n if (this.options.dev) {\n return this.options.sourceMapUrl ?? null;\n }\n\n if (this.options.serializerOptions?.includeSourceMaps !== true) {\n return null;\n }\n\n if (this.options.inlineSourceMap || !this.options.sourceMapUrl) {\n return this.options.sourceMapUrl ?? null;\n }\n\n const isAbsolute = this.getPlatform() !== 'web';\n\n const baseUrl = getBaseUrlOption(this.graph, this.options);\n const filename = this.getFilenameForConfig(serializerConfig);\n const isAbsoluteBaseUrl = !!baseUrl?.match(/https?:\\/\\//);\n const pathname =\n (isAbsoluteBaseUrl ? '' : baseUrl.replace(/\\/+$/, '')) +\n '/' +\n filename.replace(/^\\/+$/, '') +\n '.map';\n\n let adjustedSourceMapUrl = this.options.sourceMapUrl;\n // Metro has lots of issues...\n if (this.options.sourceMapUrl.startsWith('//localhost')) {\n adjustedSourceMapUrl = 'http:' + this.options.sourceMapUrl;\n }\n\n try {\n const parsed = new URL(pathname, isAbsoluteBaseUrl ? baseUrl : adjustedSourceMapUrl);\n\n if (isAbsoluteBaseUrl || isAbsolute) {\n return parsed.href;\n }\n\n return parsed.pathname;\n } catch (error) {\n console.error(\n `Failed to link source maps because the source map URL \"${this.options.sourceMapUrl}\" is corrupt:`,\n error\n );\n return null;\n }\n }\n\n private serializeToCode(\n serializerConfig: Partial<SerializerConfigT>,\n { debugId, chunks }: { debugId: string; chunks: Chunk[] }\n ) {\n return this.serializeToCodeWithTemplates(serializerConfig, {\n skipWrapping: false,\n sourceMapUrl: this.getAdjustedSourceMapUrl(serializerConfig) ?? undefined,\n computedAsyncModulePaths: this.getComputedPathsForAsyncDependencies(serializerConfig, chunks),\n debugId,\n });\n }\n\n async serializeToAssetsAsync(\n serializerConfig: Partial<SerializerConfigT>,\n chunks: Chunk[],\n {\n includeSourceMaps,\n includeBytecode,\n unstable_beforeAssetSerializationPlugins,\n }: SerializeChunkOptions\n ): Promise<SerialAsset[]> {\n // Create hash without wrapping to prevent it changing when the wrapping changes.\n const outputFile = this.getFilenameForConfig(serializerConfig);\n // We already use a stable hash for the output filename, so we'll reuse that for the debugId.\n const debugId = stringToUUID(path.basename(outputFile, path.extname(outputFile)));\n\n let premodules = [...this.preModules];\n if (unstable_beforeAssetSerializationPlugins) {\n for (const plugin of unstable_beforeAssetSerializationPlugins) {\n premodules = plugin({ graph: this.graph, premodules, debugId });\n }\n this.preModules = new Set(premodules);\n }\n\n const jsCode = this.serializeToCode(serializerConfig, { chunks, debugId });\n\n const relativeEntry = path.relative(this.options.projectRoot, this.name);\n\n const jsAsset: SerialAsset = {\n filename: outputFile,\n originFilename: relativeEntry,\n type: 'js',\n metadata: {\n isAsync: this.isAsync,\n requires: [...this.requiredChunks.values()].map((chunk) =>\n chunk.getFilenameForConfig(serializerConfig)\n ),\n // Provide a list of module paths that can be used for matching chunks to routes.\n // TODO: Move HTML serializing closer to this code so we can reduce passing this much data around.\n modulePaths: [...this.deps].map((module) => module.path),\n },\n source: jsCode,\n };\n\n const assets: SerialAsset[] = [jsAsset];\n\n const mutateSourceMapWithDebugId = (sourceMap: string) => {\n // TODO: Upstream this so we don't have to parse the source map back and forth.\n if (!debugId) {\n return sourceMap;\n }\n // NOTE: debugId isn't required for inline source maps because the source map is included in the same file, therefore\n // we don't need to disambiguate between multiple source maps.\n const sourceMapObject = JSON.parse(sourceMap);\n sourceMapObject.debugId = debugId;\n // NOTE: Sentry does this, but bun does not.\n // sourceMapObject.debug_id = debugId;\n return JSON.stringify(sourceMapObject);\n };\n\n if (\n // Only include the source map if the `options.sourceMapUrl` option is provided and we are exporting a static build.\n includeSourceMaps &&\n !this.options.inlineSourceMap &&\n this.options.sourceMapUrl\n ) {\n const modules = [\n ...this.preModules,\n ...getSortedModules([...this.deps], {\n createModuleId: this.options.createModuleId,\n }),\n ].map((module) => {\n // TODO: Make this user-configurable.\n\n // Make all paths relative to the server root to prevent the entire user filesystem from being exposed.\n if (module.path.startsWith('/')) {\n return {\n ...module,\n path:\n '/' + path.relative(this.options.serverRoot ?? this.options.projectRoot, module.path),\n };\n }\n return module;\n });\n\n // 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.\n const sourceMap = mutateSourceMapWithDebugId(\n sourceMapString(modules, {\n excludeSource: false,\n ...this.options,\n })\n );\n\n assets.push({\n filename: this.options.dev ? jsAsset.filename + '.map' : outputFile + '.map',\n originFilename: jsAsset.originFilename,\n type: 'map',\n metadata: {},\n source: sourceMap,\n });\n }\n\n if (includeBytecode && this.isHermesEnabled()) {\n const adjustedSource = jsAsset.source.replace(\n /^\\/\\/# (sourceMappingURL)=(.*)$/gm,\n (...props) => {\n if (props[1] === 'sourceMappingURL') {\n const mapName = props[2].replace(/\\.js\\.map$/, '.hbc.map');\n return `//# ${props[1]}=` + mapName;\n }\n return '';\n }\n );\n\n // TODO: Generate hbc for each chunk\n const hermesBundleOutput = await buildHermesBundleAsync({\n filename: this.name,\n code: adjustedSource,\n map: assets[1] ? assets[1].source : null,\n // TODO: Maybe allow prod + no minify.\n minify: true, //!this.options.dev,\n });\n\n if (hermesBundleOutput.hbc) {\n // TODO: Unclear if we should add multiple assets, link the assets, or mutate the first asset.\n // jsAsset.metadata.hbc = hermesBundleOutput.hbc;\n // @ts-expect-error: TODO\n jsAsset.source = hermesBundleOutput.hbc;\n jsAsset.filename = jsAsset.filename.replace(/\\.js$/, '.hbc');\n }\n if (assets[1] && hermesBundleOutput.sourcemap) {\n assets[1].source = mutateSourceMapWithDebugId(hermesBundleOutput.sourcemap);\n assets[1].filename = assets[1].filename.replace(/\\.js\\.map$/, '.hbc.map');\n }\n }\n\n return assets;\n }\n\n private supportsBytecode() {\n return this.getPlatform() !== 'web';\n }\n\n isHermesEnabled() {\n // TODO: Revisit.\n // TODO: There could be an issue with having the serializer for export:embed output hermes since the native scripts will\n // also create hermes bytecode. We may need to disable in one of the two places.\n return (\n !this.options.dev &&\n this.supportsBytecode() &&\n this.graph.transformOptions.customTransformOptions?.engine === 'hermes'\n );\n }\n}\n\nfunction getEntryModulesForChunkSettings(graph: ReadOnlyGraph, settings: ChunkSettings) {\n return [...graph.dependencies.entries()]\n .filter(([path]) => settings.test.test(path))\n .map(([, module]) => module);\n}\n\nfunction chunkIdForModules(modules: Module[]) {\n return modules\n .map((module) => module.path)\n .sort()\n .join('=>');\n}\n\nfunction gatherChunks(\n chunks: Set<Chunk>,\n settings: ChunkSettings,\n preModules: readonly Module[],\n graph: ReadOnlyGraph,\n options: SerializerOptions<MixedOutput>,\n isAsync: boolean = false\n): Set<Chunk> {\n let entryModules = getEntryModulesForChunkSettings(graph, settings);\n\n const existingChunks = [...chunks.values()];\n\n entryModules = entryModules.filter((module) => {\n return !existingChunks.find((chunk) => chunk.entries.includes(module));\n });\n\n // Prevent processing the same entry file twice.\n if (!entryModules.length) {\n return chunks;\n }\n\n const entryChunk = new Chunk(\n chunkIdForModules(entryModules),\n entryModules,\n graph,\n options,\n isAsync\n );\n\n // Add all the pre-modules to the first chunk.\n if (preModules.length) {\n // On native, use the preModules in insert code in the entry chunk.\n for (const module of preModules.values()) {\n entryChunk.preModules.add(module);\n }\n }\n\n chunks.add(entryChunk);\n\n const splitChunks = getSplitChunksOption(graph, options);\n\n function includeModule(entryModule: Module<MixedOutput>) {\n for (const dependency of entryModule.dependencies.values()) {\n if (\n dependency.data.data.asyncType === 'async' &&\n // Support disabling multiple chunks.\n splitChunks\n ) {\n gatherChunks(\n chunks,\n { test: pathToRegex(dependency.absolutePath) },\n [],\n graph,\n options,\n true\n );\n } else {\n const module = graph.dependencies.get(dependency.absolutePath);\n if (module) {\n // Prevent circular dependencies from creating infinite loops.\n if (!entryChunk.deps.has(module)) {\n entryChunk.deps.add(module);\n includeModule(module);\n }\n }\n }\n }\n }\n\n for (const entryModule of entryModules) {\n includeModule(entryModule);\n }\n\n return chunks;\n}\n\nasync function serializeChunksAsync(\n chunks: Set<Chunk>,\n serializerConfig: Partial<SerializerConfigT>,\n options: SerializeChunkOptions\n) {\n const jsAssets: SerialAsset[] = [];\n\n const chunksArray = [...chunks.values()];\n await Promise.all(\n chunksArray.map(async (chunk) => {\n jsAssets.push(\n ...(await chunk.serializeToAssetsAsync(serializerConfig, chunksArray, options))\n );\n })\n );\n\n return jsAssets;\n}\n\nexport function getSortedModules(\n modules: Module<MixedOutput>[],\n {\n createModuleId,\n }: {\n createModuleId: (path: string) => number;\n }\n): readonly Module<any>[] {\n // Assign IDs to modules in a consistent order\n for (const module of modules) {\n createModuleId(module.path);\n }\n // Sort by IDs\n return modules.sort(\n (a: Module<any>, b: Module<any>) => createModuleId(a.path) - createModuleId(b.path)\n );\n}\n"],"mappings":";;;;;;;;AAMA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AASA,SAAAG,iBAAA;EAAA,MAAAH,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAC,gBAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,gBAAA;EAAA,MAAAJ,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAE,eAAA,YAAAA,CAAA;IAAA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ACF,IAAI,CACX,IAAI,MAAMd,KAAK,CAACqG,sBAAsB,CAACrD,gBAAgB,EAAE2G,WAAW,EAAE1K,OAAO,CAAC,CAChF,CAAC;EACH,CAAC,CACH,CAAC;EAED,OAAO+B,QAAQ;AACjB;AAEO,SAAS8G,gBAAgBA,CAC9BD,OAA8B,EAC9B;EACEE;AAGF,CAAC,EACuB;EACxB;EACA,KAAK,MAAMrD,MAAM,IAAImD,OAAO,EAAE;IAC5BE,cAAc,CAACrD,MAAM,CAACzG,IAAI,CAAC;EAC7B;EACA;EACA,OAAO4J,OAAO,CAACsB,IAAI,CACjB,CAACW,CAAc,EAAEC,CAAc,KAAKhC,cAAc,CAAC+B,CAAC,CAAC7L,IAAI,CAAC,GAAG8J,cAAc,CAACgC,CAAC,CAAC9L,IAAI,CACpF,CAAC;AACH"}
|
|
1
|
+
{"version":3,"file":"serializeChunks.js","sourceRoot":"","sources":["../../src/serializer/serializeChunks.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;GAKG;AACH,oDAA4B;AAS5B,yGAAiF;AACjF,kFAA0D;AAE1D,gDAAwB;AAExB,uCAAyC;AACzC,iDAAwD;AACxD,6CAAqE;AACrE,sDAM6B;AAC7B,6CAAkD;AAGlD,8EAA2D;AAgB3D,wCAAwC;AACxC,SAAS,WAAW,CAAC,IAAY;IAC/B,kDAAkD;IAClD,IAAI,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC;IAEpE,sDAAsD;IACtD,aAAa,GAAG,aAAa,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAEnD,kDAAkD;IAClD,OAAO,IAAI,MAAM,CAAC,GAAG,GAAG,aAAa,GAAG,GAAG,CAAC,CAAC;AAC/C,CAAC;AAEM,KAAK,UAAU,wBAAwB,CAC5C,MAAmB,EACnB,qBAA4C,EAC5C,GAAG,KAA2B;IAE9B,MAAM,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,EA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BAChC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;wBAC5B,aAAa,CAAC,MAAM,CAAC,CAAC;qBACvB;iBACF;aACF;SACF;IACH,CAAC;IAED,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE;QACtC,aAAa,CAAC,WAAW,CAAC,CAAC;KAC5B;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,KAAK,UAAU,oBAAoB,CACjC,MAAkB,EAClB,gBAA4C,EAC5C,OAA8B;IAE9B,MAAM,QAAQ,GAAkB,EAAE,CAAC;IAEnC,MAAM,WAAW,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IACzC,MAAM,OAAO,CAAC,GAAG,CACf,WAAW,CAAC,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE;QAC9B,QAAQ,CAAC,IAAI,CACX,GAAG,CAAC,MAAM,KAAK,CAAC,sBAAsB,CAAC,gBAAgB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC,CAChF,CAAC;IACJ,CAAC,CAAC,CACH,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED,SAAgB,gBAAgB,CAC9B,OAA8B,EAC9B,EACE,cAAc,GAGf;IAED,8CAA8C;IAC9C,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;QAC5B,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;KAC7B;IACD,cAAc;IACd,OAAO,OAAO,CAAC,IAAI,CACjB,CAAC,CAAc,EAAE,CAAc,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,CACpF,CAAC;AACJ,CAAC;AAhBD,4CAgBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serializerAssets.js","
|
|
1
|
+
{"version":3,"file":"serializerAssets.js","sourceRoot":"","sources":["../../src/serializer/serializerAssets.ts"],"names":[],"mappings":""}
|
|
@@ -1,260 +1,189 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _serializerAssets().SerialAsset;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
exports.createDefaultExportCustomSerializer = createDefaultExportCustomSerializer;
|
|
13
|
-
exports.createSerializerFromSerialProcessors = createSerializerFromSerialProcessors;
|
|
14
|
-
exports.withExpoSerializers = withExpoSerializers;
|
|
15
|
-
exports.withSerializerPlugins = withSerializerPlugins;
|
|
16
|
-
function _jscSafeUrl() {
|
|
17
|
-
const data = require("jsc-safe-url");
|
|
18
|
-
_jscSafeUrl = function () {
|
|
19
|
-
return data;
|
|
20
|
-
};
|
|
21
|
-
return data;
|
|
22
|
-
}
|
|
23
|
-
function _sourceMapString() {
|
|
24
|
-
const data = _interopRequireDefault(require("metro/src/DeltaBundler/Serializers/sourceMapString"));
|
|
25
|
-
_sourceMapString = function () {
|
|
26
|
-
return data;
|
|
27
|
-
};
|
|
28
|
-
return data;
|
|
29
|
-
}
|
|
30
|
-
function _bundleToString() {
|
|
31
|
-
const data = _interopRequireDefault(require("metro/src/lib/bundleToString"));
|
|
32
|
-
_bundleToString = function () {
|
|
33
|
-
return data;
|
|
34
|
-
};
|
|
35
|
-
return data;
|
|
36
|
-
}
|
|
37
|
-
function _debugId() {
|
|
38
|
-
const data = require("./debugId");
|
|
39
|
-
_debugId = function () {
|
|
40
|
-
return data;
|
|
41
|
-
};
|
|
42
|
-
return data;
|
|
43
|
-
}
|
|
44
|
-
function _environmentVariableSerializerPlugin() {
|
|
45
|
-
const data = require("./environmentVariableSerializerPlugin");
|
|
46
|
-
_environmentVariableSerializerPlugin = function () {
|
|
47
|
-
return data;
|
|
48
|
-
};
|
|
49
|
-
return data;
|
|
50
|
-
}
|
|
51
|
-
function _baseJSBundle() {
|
|
52
|
-
const data = require("./fork/baseJSBundle");
|
|
53
|
-
_baseJSBundle = function () {
|
|
54
|
-
return data;
|
|
55
|
-
};
|
|
56
|
-
return data;
|
|
57
|
-
}
|
|
58
|
-
function _serializeChunks() {
|
|
59
|
-
const data = require("./serializeChunks");
|
|
60
|
-
_serializeChunks = function () {
|
|
61
|
-
return data;
|
|
62
|
-
};
|
|
63
|
-
return data;
|
|
64
|
-
}
|
|
65
|
-
function _serializerAssets() {
|
|
66
|
-
const data = require("./serializerAssets");
|
|
67
|
-
_serializerAssets = function () {
|
|
68
|
-
return data;
|
|
69
|
-
};
|
|
70
|
-
return data;
|
|
71
|
-
}
|
|
72
|
-
function _env() {
|
|
73
|
-
const data = require("../env");
|
|
74
|
-
_env = function () {
|
|
75
|
-
return data;
|
|
76
|
-
};
|
|
77
|
-
return data;
|
|
78
|
-
}
|
|
79
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.createSerializerFromSerialProcessors = exports.createDefaultExportCustomSerializer = exports.withSerializerPlugins = exports.withExpoSerializers = void 0;
|
|
80
7
|
/**
|
|
81
8
|
* Copyright © 2022 650 Industries.
|
|
82
9
|
*
|
|
83
10
|
* This source code is licensed under the MIT license found in the
|
|
84
11
|
* LICENSE file in the root directory of this source tree.
|
|
85
12
|
*/
|
|
86
|
-
|
|
13
|
+
const jsc_safe_url_1 = require("jsc-safe-url");
|
|
14
|
+
const sourceMapString_1 = __importDefault(require("metro/src/DeltaBundler/Serializers/sourceMapString"));
|
|
15
|
+
const bundleToString_1 = __importDefault(require("metro/src/lib/bundleToString"));
|
|
16
|
+
const debugId_1 = require("./debugId");
|
|
17
|
+
const environmentVariableSerializerPlugin_1 = require("./environmentVariableSerializerPlugin");
|
|
18
|
+
const baseJSBundle_1 = require("./fork/baseJSBundle");
|
|
19
|
+
const serializeChunks_1 = require("./serializeChunks");
|
|
20
|
+
const env_1 = require("../env");
|
|
87
21
|
function withExpoSerializers(config, options = {}) {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
22
|
+
const processors = [];
|
|
23
|
+
processors.push(environmentVariableSerializerPlugin_1.serverPreludeSerializerPlugin);
|
|
24
|
+
if (!env_1.env.EXPO_NO_CLIENT_ENV_VARS) {
|
|
25
|
+
processors.push(environmentVariableSerializerPlugin_1.environmentVariableSerializerPlugin);
|
|
26
|
+
}
|
|
27
|
+
return withSerializerPlugins(config, processors, options);
|
|
94
28
|
}
|
|
95
|
-
|
|
29
|
+
exports.withExpoSerializers = withExpoSerializers;
|
|
96
30
|
// There can only be one custom serializer as the input doesn't match the output.
|
|
97
31
|
// Here we simply run
|
|
98
32
|
function withSerializerPlugins(config, processors, options = {}) {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
};
|
|
33
|
+
const originalSerializer = config.serializer?.customSerializer;
|
|
34
|
+
return {
|
|
35
|
+
...config,
|
|
36
|
+
serializer: {
|
|
37
|
+
...config.serializer,
|
|
38
|
+
customSerializer: createSerializerFromSerialProcessors(config, processors, originalSerializer ?? null, options),
|
|
39
|
+
},
|
|
40
|
+
};
|
|
108
41
|
}
|
|
42
|
+
exports.withSerializerPlugins = withSerializerPlugins;
|
|
109
43
|
function createDefaultExportCustomSerializer(config, configOptions = {}) {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
bundleMap = bundle.map;
|
|
141
|
-
}
|
|
142
|
-
} else {
|
|
143
|
-
const debugId = loadDebugId();
|
|
144
|
-
if (configOptions.unstable_beforeAssetSerializationPlugins) {
|
|
145
|
-
for (const plugin of configOptions.unstable_beforeAssetSerializationPlugins) {
|
|
146
|
-
premodulesToBundle = plugin({
|
|
147
|
-
graph,
|
|
148
|
-
premodules: [...premodulesToBundle],
|
|
149
|
-
debugId
|
|
150
|
-
});
|
|
44
|
+
return async (entryPoint, preModules, graph, options) => {
|
|
45
|
+
const isPossiblyDev = graph.transformOptions.hot;
|
|
46
|
+
// TODO: This is a temporary solution until we've converged on using the new serializer everywhere.
|
|
47
|
+
const enableDebugId = options.inlineSourceMap !== true && !isPossiblyDev;
|
|
48
|
+
let debugId;
|
|
49
|
+
const loadDebugId = () => {
|
|
50
|
+
if (!enableDebugId || debugId) {
|
|
51
|
+
return debugId;
|
|
52
|
+
}
|
|
53
|
+
// TODO: Perform this cheaper.
|
|
54
|
+
const bundle = (0, baseJSBundle_1.baseJSBundle)(entryPoint, preModules, graph, {
|
|
55
|
+
...options,
|
|
56
|
+
debugId: undefined,
|
|
57
|
+
});
|
|
58
|
+
const outputCode = (0, bundleToString_1.default)(bundle).code;
|
|
59
|
+
debugId = (0, debugId_1.stringToUUID)(outputCode);
|
|
60
|
+
return debugId;
|
|
61
|
+
};
|
|
62
|
+
let premodulesToBundle = [...preModules];
|
|
63
|
+
let bundleCode = null;
|
|
64
|
+
let bundleMap = null;
|
|
65
|
+
if (config.serializer?.customSerializer) {
|
|
66
|
+
const bundle = await config.serializer?.customSerializer(entryPoint, premodulesToBundle, graph, options);
|
|
67
|
+
if (typeof bundle === 'string') {
|
|
68
|
+
bundleCode = bundle;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
bundleCode = bundle.code;
|
|
72
|
+
bundleMap = bundle.map;
|
|
73
|
+
}
|
|
151
74
|
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
75
|
+
else {
|
|
76
|
+
const debugId = loadDebugId();
|
|
77
|
+
if (configOptions.unstable_beforeAssetSerializationPlugins) {
|
|
78
|
+
for (const plugin of configOptions.unstable_beforeAssetSerializationPlugins) {
|
|
79
|
+
premodulesToBundle = plugin({ graph, premodules: [...premodulesToBundle], debugId });
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
bundleCode = (0, bundleToString_1.default)((0, baseJSBundle_1.baseJSBundle)(entryPoint, premodulesToBundle, graph, {
|
|
83
|
+
...options,
|
|
84
|
+
debugId,
|
|
85
|
+
})).code;
|
|
86
|
+
}
|
|
87
|
+
if (isPossiblyDev) {
|
|
88
|
+
if (bundleMap == null) {
|
|
89
|
+
return bundleCode;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
code: bundleCode,
|
|
93
|
+
map: bundleMap,
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
// Exports....
|
|
97
|
+
if (!bundleMap) {
|
|
98
|
+
bundleMap = (0, sourceMapString_1.default)([...premodulesToBundle, ...(0, serializeChunks_1.getSortedModules)([...graph.dependencies.values()], options)], {
|
|
99
|
+
// TODO: Surface this somehow.
|
|
100
|
+
excludeSource: false,
|
|
101
|
+
// excludeSource: options.serializerOptions?.excludeSource,
|
|
102
|
+
processModuleFilter: options.processModuleFilter,
|
|
103
|
+
shouldAddToIgnoreList: options.shouldAddToIgnoreList,
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
if (enableDebugId) {
|
|
107
|
+
const mutateSourceMapWithDebugId = (sourceMap) => {
|
|
108
|
+
// NOTE: debugId isn't required for inline source maps because the source map is included in the same file, therefore
|
|
109
|
+
// we don't need to disambiguate between multiple source maps.
|
|
110
|
+
const sourceMapObject = JSON.parse(sourceMap);
|
|
111
|
+
sourceMapObject.debugId = loadDebugId();
|
|
112
|
+
// NOTE: Sentry does this, but bun does not.
|
|
113
|
+
// sourceMapObject.debug_id = debugId;
|
|
114
|
+
return JSON.stringify(sourceMapObject);
|
|
115
|
+
};
|
|
116
|
+
return {
|
|
117
|
+
code: bundleCode,
|
|
118
|
+
map: mutateSourceMapWithDebugId(bundleMap),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
return {
|
|
122
|
+
code: bundleCode,
|
|
123
|
+
map: bundleMap,
|
|
124
|
+
};
|
|
197
125
|
};
|
|
198
|
-
};
|
|
199
126
|
}
|
|
127
|
+
exports.createDefaultExportCustomSerializer = createDefaultExportCustomSerializer;
|
|
200
128
|
function getDefaultSerializer(config, fallbackSerializer, configOptions = {}) {
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
129
|
+
const defaultSerializer = fallbackSerializer ?? createDefaultExportCustomSerializer(config, configOptions);
|
|
130
|
+
return async (...props) => {
|
|
131
|
+
const [, , , options] = props;
|
|
132
|
+
const customSerializerOptions = options.serializerOptions;
|
|
133
|
+
// Custom options can only be passed outside of the dev server, meaning
|
|
134
|
+
// we don't need to stringify the results at the end, i.e. this is `npx expo export` or `npx expo export:embed`.
|
|
135
|
+
const supportsNonSerialReturn = !!customSerializerOptions?.output;
|
|
136
|
+
const serializerOptions = (() => {
|
|
137
|
+
if (customSerializerOptions) {
|
|
138
|
+
return {
|
|
139
|
+
includeBytecode: customSerializerOptions.includeBytecode,
|
|
140
|
+
outputMode: customSerializerOptions.output,
|
|
141
|
+
includeSourceMaps: customSerializerOptions.includeSourceMaps,
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
if (options.sourceUrl) {
|
|
145
|
+
const sourceUrl = (0, jsc_safe_url_1.isJscSafeUrl)(options.sourceUrl)
|
|
146
|
+
? (0, jsc_safe_url_1.toNormalUrl)(options.sourceUrl)
|
|
147
|
+
: options.sourceUrl;
|
|
148
|
+
const url = new URL(sourceUrl, 'https://expo.dev');
|
|
149
|
+
return {
|
|
150
|
+
outputMode: url.searchParams.get('serializer.output'),
|
|
151
|
+
includeSourceMaps: url.searchParams.get('serializer.map') === 'true',
|
|
152
|
+
includeBytecode: url.searchParams.get('serializer.bytecode') === 'true',
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
return null;
|
|
156
|
+
})();
|
|
157
|
+
if (serializerOptions?.outputMode !== 'static') {
|
|
158
|
+
return defaultSerializer(...props);
|
|
159
|
+
}
|
|
160
|
+
// Mutate the serializer options with the parsed options.
|
|
161
|
+
options.serializerOptions = {
|
|
162
|
+
...options.serializerOptions,
|
|
163
|
+
...serializerOptions,
|
|
224
164
|
};
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
...serializerOptions
|
|
165
|
+
const assets = await (0, serializeChunks_1.graphToSerialAssetsAsync)(config, {
|
|
166
|
+
includeSourceMaps: !!serializerOptions.includeSourceMaps,
|
|
167
|
+
includeBytecode: !!serializerOptions.includeBytecode,
|
|
168
|
+
...configOptions,
|
|
169
|
+
}, ...props);
|
|
170
|
+
if (supportsNonSerialReturn) {
|
|
171
|
+
// @ts-expect-error: this is future proofing for adding assets to the output as well.
|
|
172
|
+
return assets;
|
|
173
|
+
}
|
|
174
|
+
return JSON.stringify(assets);
|
|
236
175
|
};
|
|
237
|
-
const assets = await (0, _serializeChunks().graphToSerialAssetsAsync)(config, {
|
|
238
|
-
includeSourceMaps: !!serializerOptions.includeSourceMaps,
|
|
239
|
-
includeBytecode: !!serializerOptions.includeBytecode,
|
|
240
|
-
...configOptions
|
|
241
|
-
}, ...props);
|
|
242
|
-
if (supportsNonSerialReturn) {
|
|
243
|
-
// @ts-expect-error: this is future proofing for adding assets to the output as well.
|
|
244
|
-
return assets;
|
|
245
|
-
}
|
|
246
|
-
return JSON.stringify(assets);
|
|
247
|
-
};
|
|
248
176
|
}
|
|
249
177
|
function createSerializerFromSerialProcessors(config, processors, originalSerializer, options = {}) {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
178
|
+
const finalSerializer = getDefaultSerializer(config, originalSerializer, options);
|
|
179
|
+
return (...props) => {
|
|
180
|
+
for (const processor of processors) {
|
|
181
|
+
if (processor) {
|
|
182
|
+
props = processor(...props);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
return finalSerializer(...props);
|
|
186
|
+
};
|
|
259
187
|
}
|
|
188
|
+
exports.createSerializerFromSerialProcessors = createSerializerFromSerialProcessors;
|
|
260
189
|
//# sourceMappingURL=withExpoSerializers.js.map
|