We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your enhancement related to a problem? Please describe. Webpack aliases (and similar features in other bundles) often cause more harm than good.
With alias we can convert imports like this:
import MyComponent from './components/MyComponent';
into something like this
import MyComponent from '@components/MyComponent';
The benefit is that you simplify importing files from deeply nested folders:
import MyComponent from '../../../components/MyComponent';
However, there are a couple of issues:
Describe the solution you'd like Discourage usage of webpack aliases and similar 10up across projects at 10up.
Additional context Many projects inside and outside at 10up have experimented using webpack aliases and eventually decided to stop using them.
The text was updated successfully, but these errors were encountered:
@nicholasio is this something you'd want to get into a PR or is there someone else you'd like to see pick this up to work on?
Sorry, something went wrong.
Hello I would like to work on this issue
No branches or pull requests
Is your enhancement related to a problem? Please describe.
Webpack aliases (and similar features in other bundles) often cause more harm than good.
With alias we can convert imports like this:
into something like this
The benefit is that you simplify importing files from deeply nested folders:
However, there are a couple of issues:
Describe the solution you'd like
Discourage usage of webpack aliases and similar 10up across projects at 10up.
Additional context
Many projects inside and outside at 10up have experimented using webpack aliases and eventually decided to stop using them.
The text was updated successfully, but these errors were encountered: