Sha256: 941c8cc02b3c855c187ffa5a7db5d3d500e4f33426a495352bf8d1b0e063620c
Contents?: true
Size: 589 Bytes
Versions: 4
Compression:
Stored size: 589 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('stylus-loader', (resolvedPath) => getStyleRule(/\.(styl)(\.erb)?$/i, [ { loader: resolvedPath, options: { stylusOptions: { include: [ path.resolve(__dirname, 'node_modules'), sourcePath, ...paths ] }, sourceMap: true } } ]) )
Version data entries
4 entries across 4 versions & 1 rubygems