Skip to content

Add an option to not concatenate a type with a locals key #23

Closed
@raphael-leger

Description

@raphael-leger

The generated d.ts files contain the following:

{
  /** WARNING: Only available when `css-loader` is used without `style-loader` or `mini-css-extract-plugin` */
  locals: AnimalScssNamespace.IAnimalScss;
};

As stated, this code is not always useful.
In this case, it takes space and complexifies the type readability.

Screenshot 2020-04-20 at 17 48 10

It would be great to add an option to disable the generation of this code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions