stream-chat-angular icon indicating copy to clipboard operation
stream-chat-angular copied to clipboard

Link stream-chat-css in watch mode

Open szuperaz opened this issue 3 years ago • 1 comments

What I think should work:

  • Create a symlink from the styles folder inside stream-chat-angular to the stream-chat-css dist folder: cp -Rs ../stream-chat-css/dist projects/stream-chat-angular/src/assets/styles

Problem: Angular can't build the stream-chat-angular: it seems like the asset copying fails, potentially because the build provess can't follow symlinks (preserveSymlinks doesn't help)

szuperaz avatar Jun 28 '22 07:06 szuperaz

Temporary solution: change the import in sample-app/styles.scss to @import "~@stream-io/stream-chat-css/dist/v2/scss/index.scss";

szuperaz avatar Jul 25 '22 08:07 szuperaz