fix: node-externals doesn't use regex
This commit is contained in:
parent
e7f5c242dd
commit
fb988c9c82
|
@ -531,7 +531,7 @@ export default class ServerFlecks extends Flecks {
|
|||
const alias = this.fleckIsAliased(fleck)
|
||||
? resolved
|
||||
: this.sourcepath(R.resolve(this.resolve(fleck)));
|
||||
allowlist.push(`${fleck}$`);
|
||||
allowlist.push(fleck);
|
||||
config.resolve.alias
|
||||
.set(`${fleck}$`, alias);
|
||||
debug('%s runtime de-externalized %s, alias: %s', runtime, fleck, alias);
|
||||
|
|
Loading…
Reference in New Issue
Block a user