Whitelist rxjs in nodeExternals (#1218)

This commit is contained in:
Oscar Hinton 2022-01-04 20:51:21 +01:00 committed by GitHub
parent f01856d34f
commit 27b1ee2ab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -76,7 +76,11 @@ const main = {
],
}),
],
externals: [nodeExternals()],
externals: [
nodeExternals({
allowlist: ["rxjs"],
}),
],
};
module.exports = merge(common, NODE_ENV === "development" ? dev : prod, main);