File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export class FileSystemModuleCache{
3434private rootCache : string
3535private metadataFilePath : string
3636
37- private version = '1.0.0-beta.1 '
37+ private version = '1.0.0-beta.2 '
3838private fsCacheRoots = new WeakMap < ResolvedConfig , string > ( )
3939private fsEnvironmentHashMap = new WeakMap < DevEnvironment , string > ( )
4040private fsCacheKeyGenerators = new Set < CacheKeyIdGenerator > ( )
Original file line number Diff line number Diff line change @@ -66,6 +66,11 @@ class ModuleFetcher{
6666return { cache : true }
6767}
6868
69+ const externalize = await this . resolver . shouldExternalize ( moduleGraphModule . id ! )
70+ if ( externalize ) {
71+ return { externalize, type : 'module' }
72+ }
73+
6974const cachePath = await this . getCachePath (
7075environment ,
7176moduleGraphModule ,
@@ -271,11 +276,6 @@ class ModuleFetcher{
271276moduleGraphModule : EnvironmentModuleNode ,
272277options ?: FetchFunctionOptions ,
273278) : Promise < FetchResult > {
274- const externalize = await this . resolver . shouldExternalize ( moduleGraphModule . id ! )
275- if ( externalize ) {
276- return { externalize, type : 'module' }
277- }
278-
279279const moduleRunnerModule = await fetchModule (
280280environment ,
281281url ,
You can’t perform that action at this time.
0 commit comments