Open
Description
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
Labels
No labels