Global

Members

config

Path to config file

Default Value:
  • path './mole.config.js'
Source:

Methods

normaliseOutputs(outputs)

Flattens the structure of user defined output so it's easier to work with

{
	output: [
		{
			template: ['template-name'],
			model: ['tokens', 'mixins'].
			dir: 'templates/',
			file: 'style.css',
			path: 'templates/style.css'
		}
	]
}
Source:
Parameters:
Name Type Description
outputs Object

A config with property called output which contains an array