Skip to content

css file needs be exported in package.json #78

Closed
@mshima

Description

@mshima

If I add @import 'ngx-diff/styles/default-theme'; to scss file.
The module is not found:
image

If I add @import 'ngx-diff/styles/default-theme.css'; to scss file.
The file is not exported.
image

If I add "./styles/*": "./styles/*.css", to package.json's export, @import 'ngx-diff/styles/default-theme'; works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions