Sha256: 25ba2ea16162364cbe3831fdfcc34eab61fbdb338288b6dab9c09610f53e07b5
Contents?: true
Size: 433 Bytes
Versions: 2
Compression:
Stored size: 433 Bytes
Contents
const path = require('path') const getStyleRule = require('../utils/get_style_rule') const { additional_paths: paths, source_path: sourcePath } = require('../config') module.exports = getStyleRule(/\.(less)(\.erb)?$/i, [ { loader: require.resolve('less-loader'), options: { lessOptions: { paths: [path.resolve(__dirname, 'node_modules'), sourcePath, ...paths] }, sourceMap: true } } ])
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
webpacker-6.0.0.pre.2 | package/rules/less.js |
webpacker-6.0.0.pre.1 | package/rules/less.js |