Skip to content

Document how to map external less files #1493

Closed
@thelgevold

Description

@thelgevold

I am requesting documentation on how to map to imported less files in the webpack version of CLI.

In the previous version there was a hook in angular-cli.builds.js to specify paths for the lessCompiler:

lessCompiler: {
      paths: ['node_modules/some-path/less']
    }

angular-cli.builds.js is no longer included in the version on master.

It works to specify less files in styleUrls, but I am not able to import other less files from my component less files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenttype: RFC / discussion / question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions