Skip to content

Add configuration option to change the way file paths are generated #6

Open
@Auxx

Description

@Auxx

When building with webpack, all file paths should be relative to webpack project root, otherwise files will not be resolved.

The error message from webpack:

ERROR in .//css-loader!.//less-loader!./src/styles/styles.less
Module build failed: Cannot resolve 'file' or 'directory' ./C:\dev-x\angular2-ts-boilerplate\src\app\app.component.less in ../app
@ ../app/**.less (line 1, column 0)
near lines:

@import "C:\dev-x\angular2-ts-boilerplate\src\app\app.component.less";

@ ./src/styles/styles.less 4:14-123

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