Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of Webpack aliases #17883

Closed
4 tasks
elasticmachine opened this issue Feb 10, 2017 · 1 comment
Closed
4 tasks

Remove use of Webpack aliases #17883

elasticmachine opened this issue Feb 10, 2017 · 1 comment
Labels
chore Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@elasticmachine
Copy link
Contributor

Original comment by @ycombinator:

Clone of LINK REDACTED applicable to the UI codebase in this (x-plugins) repo

One of the benefits of the ES6 import syntax is that it enables static analysis. Our use of webpack aliases limits the benefit by making some import paths dynamic.

I don't know what all the ramifications of this change would be, but I wanted to float the idea of removing our use of aliases.

This can be split up into a number of incremental steps:

@elasticmachine elasticmachine added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc chore labels Apr 24, 2018
@stacey-gammon
Copy link
Contributor

Closing in favor of #6430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests

2 participants