Open eric-basley opened 9 years ago
npm:material-design-lite contains wrong material.js so I use github:google/material-design-lite.
Both of them don't include package.json/main key to define entry point, so to install it, we must do:
$ jspm install github:google/material-design-lite -o "{main: 'material.js'}"
This will add an overrides entry in package .json.
Installation works like a charm, but when we try to use our library inside an another project this override is not taken into account, and we have to add it inside client's package.json !!
This issue is old and google/material-design-lite now has a main: in the package.json
google/material-design-lite
main:
How can we test for this?
npm:material-design-lite contains wrong material.js so I use github:google/material-design-lite.
Both of them don't include package.json/main key to define entry point, so to install it, we must do:
This will add an overrides entry in package .json.
Installation works like a charm, but when we try to use our library inside an another project this override is not taken into account, and we have to add it inside client's package.json !!