Brakebein / ngx-tagify

Angular library that wraps https://github.com/yaireo/tagify/
MIT License
26 stars 4 forks source link

16.1.2 -> tagify.scss not found #54

Open felipecpc opened 5 months ago

felipecpc commented 5 months ago

I just updated tagify to 16.1.2 and now I'm facing this issue ... any advice ?

Module build failed (from ./node_modules/@angular-devkit/build-angular/node_modules/sass-loader/dist/cjs.js):
Can't find stylesheet to import.
  ╷
1 │ @import "@yaireo/tagify/src/tagify";
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  node_modules/ngx-tagify/styles/tagify.scss 1:9  root stylesheet
Brakebein commented 5 months ago

The scss import has been changed to without node_modules in #44

It should work if you add in your angular.json

"stylePreprocessorOptions": {
  "includePaths": ["node_modules"]
},

I think I will need to update the readme in this regard.