Sha256: 8865de53ca75ae8b511abe5648a91922c1ae6413fd19ed5e8740536e6d917ae7
Contents?: true
Size: 594 Bytes
Versions: 45
Compression:
Stored size: 594 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(us)?)(\.erb)?$/i, [ { loader: resolvedPath, options: { stylusOptions: { include: [ path.resolve(__dirname, 'node_modules'), sourcePath, ...paths ] }, sourceMap: true } } ]) )
Version data entries
45 entries across 45 versions & 2 rubygems