mblode / marx

The classless CSS reset (perfect for Communists).
https://mblode.github.io/marx/
MIT License
1.69k stars 103 forks source link

When installing via NPM, sanatize.css dependency is missing #36

Closed kevinriemens closed 5 years ago

kevinriemens commented 6 years ago

Perhaps put it in as a peer dependency? Out of the box, it breaks an angular 6 apllication build because of the missing depedency.

It's an easy fix, but perhaps a good addition to the project, to add it as a peer depedency in the package.json.

inoas commented 6 years ago

I ran npm install --save-dev sanitize.css@5.0.0

And in marx.scss, I had to change:

@import '../node_modules/sanitize.css/sanitize';

to:

@import '../../sanitize.css/sanitize';