Skip to content

Set Webpack per-root module imports #380

@aduth

Description

@aduth

Previously removed in 065843f

Especially when working with reusable components, relationally navigating the folder structure is cumbersome and reduces portability of components.

Ideally in the ModeSwitcher component's Dashicon dependency, instead of:

import Dashicon from '../../components/dashicon';

One could import by:

import Dashicon from 'components/dashicon';

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrameworkIssues related to broader framework topics, especially as it relates to javascriptGood First IssueAn issue that's suitable for someone looking to contribute for the first time[Type] TaskIssues or PRs that have been broken down into an individual action to take

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions