@financial-times/x-engine
Advanced tools
Comparing version 14.4.2 to 14.5.0
{ | ||
"name": "@financial-times/x-engine", | ||
"version": "14.4.2", | ||
"version": "14.5.0", | ||
"description": "This module is a consolidation library to render x-dash components with any compatible runtime.", | ||
@@ -5,0 +5,0 @@ "main": "src/server.js", |
@@ -27,7 +27,12 @@ const assignDeep = require('assign-deep') | ||
apply(compiler) { | ||
const alias = compiler?.options?.resolve?.alias | ||
const configRuntimePath = alias && alias[config.runtime] ? alias[config.runtime] : runtimeResolution | ||
const configRenderModule = | ||
alias && alias[config.renderModule] ? alias[config.renderModule] : renderResolution | ||
assignDeep(compiler.options, { | ||
resolve: { | ||
alias: { | ||
[config.runtime]: runtimeResolution, | ||
[config.renderModule]: renderResolution | ||
//Do not override current alias resolvers | ||
[config.runtime]: configRuntimePath, | ||
[config.renderModule]: configRenderModule | ||
} | ||
@@ -34,0 +39,0 @@ } |
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
12305
160