This provides a custom css filesystem resolver for postcss-import. This provides the ability to use webpack aliases in css as described in postcss-import#190.
Using npm, do:
npm install postcss-import-webpack-resolver --dev
const cssImport = ;const createResolver = ;const postcssPlugins =
postcss-import resolve function, takes the same options as enhanced-resolve. Please refer there for proper API documentation.