@rws-framework/client 2.23.0 → 2.23.2
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.
|
@@ -47,7 +47,8 @@ const RWSWebpackWrapper = async (appRoot, rwsFrontendConfig, _packageDir) => {
|
|
|
47
47
|
BuildConfigurator,
|
|
48
48
|
hotReload,
|
|
49
49
|
hotReloadPort,
|
|
50
|
-
loaderIgnoreExceptions
|
|
50
|
+
loaderIgnoreExceptions,
|
|
51
|
+
extraNodeModules
|
|
51
52
|
} = await getBuildConfig(rwsFrontendConfig, _packageDir);
|
|
52
53
|
|
|
53
54
|
timeLog({ devDebug });
|
|
@@ -66,7 +67,8 @@ const RWSWebpackWrapper = async (appRoot, rwsFrontendConfig, _packageDir) => {
|
|
|
66
67
|
const WEBPACK_AFTER_ACTIONS = rwsFrontendConfig.actions || [];
|
|
67
68
|
const WEBPACK_AFTER_ERROR_ACTIONS = rwsFrontendConfig.error_actions || [];
|
|
68
69
|
|
|
69
|
-
const modules_setup = [path.join(_packageDir, 'node_modules'), path.join(executionDir, 'node_modules'), path.join(tools.findRootWorkspacePath(appRoot), 'node_modules')];
|
|
70
|
+
const modules_setup = [path.join(_packageDir, 'node_modules'), path.join(executionDir, 'node_modules'), path.join(tools.findRootWorkspacePath(appRoot), 'node_modules'), ...(extraNodeModules || [])];
|
|
71
|
+
|
|
70
72
|
let optimConfig = null;
|
|
71
73
|
let aliases = rwsFrontendConfig.aliases || {};
|
|
72
74
|
aliases = { ...aliases, ...(await loadAliases(_packageDir, tsConfig,path.resolve(_MAIN_PACKAGE, 'node_modules'), executionDir))}
|
|
@@ -40,6 +40,7 @@ async function getBuildConfig(rwsFrontBuildConfig, _packageDir){
|
|
|
40
40
|
devDebug = {..._DEFAULT_DEV_DEBUG, ...devDebug}
|
|
41
41
|
|
|
42
42
|
const devRouteProxy = BuildConfigurator.get('devRouteProxy') || rwsFrontBuildConfig.devRouteProxy;
|
|
43
|
+
const extraNodeModules = BuildConfigurator.get('extraNodeModules') || rwsFrontBuildConfig.extraNodeModules;
|
|
43
44
|
|
|
44
45
|
const tsConfig = await (BuildConfigurator.get('tsConfig') || rwsFrontBuildConfig.tsConfig)(_packageDir, true);
|
|
45
46
|
|
|
@@ -78,7 +79,8 @@ async function getBuildConfig(rwsFrontBuildConfig, _packageDir){
|
|
|
78
79
|
BuildConfigurator,
|
|
79
80
|
hotReload,
|
|
80
81
|
hotReloadPort,
|
|
81
|
-
loaderIgnoreExceptions
|
|
82
|
+
loaderIgnoreExceptions,
|
|
83
|
+
extraNodeModules
|
|
82
84
|
}
|
|
83
85
|
}
|
|
84
86
|
|
package/package.json
CHANGED