jsnext:main flag in package configuration. Also respects alternative
style entries as main package entry point.
The solution was mainly thought for offering a powerful JSPM-capable include mechanism for PostCSS.
Should be installed locally in your project source code:
npm install pkg-resolve --save-dev
Integrate like this in your e.g.
gulpfile.js or other packages:
You are also able to combine the import functionality with PostCSS Import. That's pretty neat to include CSS files and other referenced assets which are installed with JSPM inside the local project.
- Install normalize.css:
jspm install npm:normalize.css
- Include it via PostCSS include:
Sebastian Software GmbH