Skip to content

Commit

Permalink
remove unnecessary aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Sep 2, 2020
1 parent 6f1f884 commit ba72dbc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ exports.getWebpackConfig = function (kibanaPath) {
mainFields: ['browser', 'main'],
modules: ['node_modules', resolve(kibanaPath, 'node_modules')],
alias: {
// Kibana defaults https://github.com/elastic/kibana/blob/6998f074542e8c7b32955db159d15661aca253d7/src/legacy/ui/ui_bundler_env.js#L30-L36
ui: resolve(kibanaPath, 'src/legacy/ui/public'),

// Dev defaults for test bundle https://github.com/elastic/kibana/blob/6998f074542e8c7b32955db159d15661aca253d7/src/core_plugins/tests_bundle/index.js#L73-L78
ng_mock$: resolve(kibanaPath, 'src/test_utils/public/ng_mock'),
fixtures: resolve(kibanaPath, 'src/fixtures'),
test_utils: resolve(kibanaPath, 'src/test_utils/public'),
},
Expand Down
2 changes: 0 additions & 2 deletions x-pack/plugins/canvas/storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,6 @@ module.exports = async ({ config: storybookConfig }) => {
__dirname,
'../tasks/mocks/uiAbsoluteToParsedUrl'
),
ui: path.resolve(KIBANA_ROOT, 'src/legacy/ui/public'),
ng_mock$: path.resolve(KIBANA_ROOT, 'src/test_utils/public/ng_mock'),
},
},
};
Expand Down

0 comments on commit ba72dbc

Please sign in to comment.