diff --git a/packages/kbn-ui-shared-deps-npm/webpack.config.js b/packages/kbn-ui-shared-deps-npm/webpack.config.js index 08174b78a50fb..925ba2677acd8 100644 --- a/packages/kbn-ui-shared-deps-npm/webpack.config.js +++ b/packages/kbn-ui-shared-deps-npm/webpack.config.js @@ -139,12 +139,6 @@ module.exports = (_, argv) => { resolve: { alias: { '@elastic/eui$': '@elastic/eui/optimize/es', - // Exposing other eui subpaths as we want to expose them from the dll. - // We cant just alias everything because we are also importing eui/dist from outside of the dll - '@elastic/eui/lib/services/theme/warning': - '@elastic/eui/optimize/es/services/theme/warning', - '@elastic/eui/lib/components/provider/nested': - '@elastic/eui/optimize/es/components/provider/nested', moment: MOMENT_SRC, // NOTE: Used to include react profiling on bundles // https://gist.github.com/bvaughn/25e6233aeb1b4f0cdb8d8366e54a3977#webpack-4