Skip to content

Auto resolving css-modules import and default import #994

Closed
@Yegorich555

Description

@Yegorich555

Feature Proposal

We have two imports ES6 and It looks smarter when resolving some imports will be work in the following automatic way:
import styles from 'someFiles.css' as css-module
import 'someFiles2.css' as default import (without css-module-specification)

Feature Use Case

The main idea is simplifying webpack config and avoiding misunderstanding in mixed project (when we have some files as css-modules and some-files as default-css).

Is implementing of this possible?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions