diff --git a/src/platform/packages/private/kbn-ui-shared-deps-npm/webpack.config.js b/src/platform/packages/private/kbn-ui-shared-deps-npm/webpack.config.js index 6fe4c6849f402..08efd5863c147 100644 --- a/src/platform/packages/private/kbn-ui-shared-deps-npm/webpack.config.js +++ b/src/platform/packages/private/kbn-ui-shared-deps-npm/webpack.config.js @@ -17,7 +17,7 @@ const UiSharedDepsNpm = require('.'); const MOMENT_SRC = require.resolve('moment/min/moment-with-locales.js'); const WEBPACK_SRC = require.resolve('webpack'); -const REPO_ROOT = Path.resolve(__dirname, '..', '..'); +const REPO_ROOT = Path.resolve(__dirname, '..', '..', '..', '..', '..'); module.exports = (_, argv) => { const outputPath = argv.outputPath ? Path.resolve(argv.outputPath) : UiSharedDepsNpm.distDir; diff --git a/src/platform/packages/private/kbn-ui-shared-deps-src/webpack.config.js b/src/platform/packages/private/kbn-ui-shared-deps-src/webpack.config.js index 26eac38c3060c..2c01d209b7315 100644 --- a/src/platform/packages/private/kbn-ui-shared-deps-src/webpack.config.js +++ b/src/platform/packages/private/kbn-ui-shared-deps-src/webpack.config.js @@ -20,7 +20,7 @@ const { distDir: UiSharedDepsSrcDistDir } = require('./src/definitions'); const MOMENT_SRC = require.resolve('moment/min/moment-with-locales.js'); -const REPO_ROOT = Path.resolve(__dirname, '..', '..'); +const REPO_ROOT = Path.resolve(__dirname, '..', '..', '..', '..', '..'); module.exports = { node: {