Skip to content

Commit 229bd43

Browse files
Update styles.ts
1 parent daed2b1 commit 229bd43

File tree

1 file changed

+2
-1
lines changed
  • packages/@angular/cli/models/webpack-configs

1 file changed

+2
-1
lines changed

packages/@angular/cli/models/webpack-configs/styles.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
5151
url: ({ url }: { url: string }, { file }: { file: string }) => {
5252
const relativePathToRoot = path.relative(file, projectRoot);
5353
return path.join(relativePathToRoot, 'node_modules', url.substr(1))
54-
// Ensure that, on Windows, the path doesn't contain back slashes to be PostCSS friendly :)
54+
// Ensure that, on Windows, the path doesn't contain back slashes to
55+
// be PostCSS friendly :)
5556
.replace(/\\/g, '/');
5657
},
5758
}),

0 commit comments

Comments
 (0)