Global

Methods


rollupPostcssLessLoader(options)

Rollup Postcss Less Loader that is capable of resolving webpack style aliases

Inspired by https://github.com/egoist/rollup-plugin-postcss/blob/5596ca978bee3d5c4da64c8ddd130ca3d8e77244/src/less-loader.js
but modified to use a custom file manager and resolve webpack aliases.

Parameters:
Name Type Description
options

Information about the user.

Properties
Name Type Argument Description
aliases Object.<string, string>

The user defined aliases.

nodeModulePath string <optional>

The root node modules path, defaults to 'node_modules'

Source: