aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/webpack.config.js
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2021-08-06 16:04:50 +0100
committerMichael Morris <michael.morris@est.tech>2021-08-11 08:25:33 +0000
commitead5c383df30c94a83ee1d7e2c869cc5b23697a2 (patch)
tree3f21ba4cf4fcb119243acbbde176dc7ab37d91f7 /openecomp-ui/webpack.config.js
parent7c8f40bc6df4a5a4d5822e48ecbe5ebe6a0d251a (diff)
Fix local build of onboarding-fe
dox-sequence-diagram-ui/package.json: - upgrades webpack-cli to 3.3.12, the actual version 2.0.14 is not compatible or recommended with the webpack version. openecomp-ui/package.json: - upgrades webpack-cli to 3.3.12, the actual version 2.0.14 is not compatible or recommended with the webpack version. - upgrades babel-core from 6.24.0 to 6.26.0. Code and config fixes: - fixes i18n openecomp-ui/src/nfvo-utils/i18n/i18n.js. The previous code was calling an non-existent attribute of the intl-format-cache. - fixes dox-sequence-diagram-ui path in openecomp-ui/webpack.config.js. The previous path configuration was causing compilation problems in the openecomp-ui (folder not found problem). Updates README.md with used procedure to run onboarding-fe. Change-Id: I28f7b78a1f30b5f904b3f7214f72e9741253622d Issue-ID: SDC-3661 Signed-off-by: André Schmid <andre.schmid@est.tech>
Diffstat (limited to 'openecomp-ui/webpack.config.js')
-rw-r--r--openecomp-ui/webpack.config.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/openecomp-ui/webpack.config.js b/openecomp-ui/webpack.config.js
index f3b410e54e..be2e75efdb 100644
--- a/openecomp-ui/webpack.config.js
+++ b/openecomp-ui/webpack.config.js
@@ -86,10 +86,7 @@ module.exports = (env, argv) => {
],
include: [
/resources/,
- path.join(
- __dirname,
- 'node_modules/dox-sequence-diagram-ui/'
- ),
+ path.join(__dirname, DEV ? '../dox-sequence-diagram-ui/' : 'node_modules/dox-sequence-diagram-ui/'),
path.join(__dirname, 'node_modules/react-datepicker/'),
path.join(__dirname, 'node_modules/react-select/'),
path.join(__dirname, 'node_modules/onap-ui-common/'),