Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add main and style properties to package.json #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add main and style properties to package.json #30

wants to merge 1 commit into from

Conversation

mrksbnch
Copy link

@mrksbnch mrksbnch commented Apr 1, 2016

This is helpful if you want to import npm packages (like this one) in CSS/SASS/Less without having to specify the full path to the node_modules folder (http://stackoverflow.com/questions/32037150/style-field-in-package-json).

The sass-module-importer and many other modules are also checking the package.json file for a main or style property.

This is helpful if you want to import npm packages (like this one) in CSS/SASS/Less without having to specify the full path to the `node_modules` folder (http://stackoverflow.com/questions/32037150/style-field-in-package-json).

The [sass-module-importer](https://github.com/lucasmotta/sass-module-importer) and many other modules are also checking the `package.json` file for a `main` or `style` property.
@revolunet
Copy link

would be nice to merge this and npm republish please 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants