Skip to content

Consider flattening import statements #399

@mobot11

Description

@mobot11

Description

Currently importing a component from the library looks like

import { Alert } from 'fundamental-react/lib/alert'

We should consider flattening this to

import { Alert } from 'fundamental-react/alert'

Example documentation can be found here https://medium.com/@jbscript/publishing-flat-modules-to-npm-4367f5e0c10d

Versions

fundamental-react:
fiori-fundamentals:


NOTE: Where applicable, please include uncropped screen captures.

DISCLAIMER:
After triaging an issue, the fundamental-react team will see if it can be reproduced or confirmed. If more information is needed, the fundamental-react team will contact the author. Any issues awaiting responses from the author for more than 7 days will be closed. The author can re-open the issue at a later time if they can present the requested information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    nice to havea nice to have feature/improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions