Sha256: f22413506316eed3abe39b2ae1e31f89d22565bc1c06b05c430445be5c04e212
Contents?: true
Size: 592 Bytes
Versions: 2
Compression:
Stored size: 592 Bytes
Contents
const path = require("path") const { canProcess } = require("../utils/helpers") const getStyleRule = require("../utils/getStyleRule") 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shakapacker-8.0.2 | package/rules/stylus.js |
shakapacker-8.0.1 | package/rules/stylus.js |