Sha256: 1123d791d5b2d3f0d94d1ee0ca6a213498ad238db9dd883f19ffd40751cb205b
Contents?: true
Size: 535 Bytes
Versions: 51
Compression:
Stored size: 535 Bytes
Contents
const path = require('path') const { canProcess } = require('../utils/helpers') const getStyleRule = require('../utils/get_style_rule') const { additional_paths: paths, source_path: sourcePath } = require('../config') module.exports = canProcess('less-loader', (resolvedPath) => getStyleRule(/\.(less)(\.erb)?$/i, [ { loader: resolvedPath, options: { lessOptions: { paths: [path.resolve(__dirname, 'node_modules'), sourcePath, ...paths] }, sourceMap: true } } ]) )
Version data entries
51 entries across 51 versions & 2 rubygems