organic-bundlestyle v0.0.2
organel
cwd- Objectoptional object containing key:values, where values will be prefixed with
process.cwd()and placed within config itself with coresponding keysUseful to provide
rootvalue relative to current working directoryroot- Stringless- Object, Less Optionsconfiguration options for Less compiler, possible values:
- paths - Array of paths, by default the root folder of
styleis injected first - optimization - 1
- rootpath
- relativeUrls - false
- strictImports - false
- dumpLineNumbers - false
- compress - false
- yuicompress - false
- output - String undefined, fullpath to where the compiled bundle should be written
- paths - Array of paths, by default the root folder of
styleType- String, autodetected from extensionstyle- String
incoming | BundleStyle
style- Stringrequired, given value should map to fullpath to the entry point of the style to be generated using less compiler
if BundleStyle organelle is configured with
rootoption, it will be prepended to the style variableif BundleStyle incoming chemical contains
rootvariable, it will be prepended to the style variable
root- String, optionaloptional, value to be prepended to the style path
styleType- String, optionalif not provided, extname of the
stylewill be used. This option indicates the type of the parser to be used. Currently only Less is supported.less- Object, optionalconfiguration options for Less compiler. If not provided less configuration from the Organelle will be used or its defaults.
possible values
- paths - Array of paths, by default the root folder of
styleis injected first - optimization
- rootpath
- relativeUrls
- strictImports
- dumpLineNumbers
- compress
- yuicompress
- output - String, fullpath to where the compiled bundle should be written
- paths - Array of paths, by default the root folder of
Response Chemical Structure
- data -
truewhen bundle should be written to file or compiled bundle contents