hexo/node_modules/hexo-renderer-sass/index.js

9 lines
277 B
JavaScript

/* global hexo */
'use strict'
const sassRenderer = require('./lib/renderer')
// associate the Sass renderer with .scss AND .sass extensions
hexo.extend.renderer.register('scss', 'css', sassRenderer('scss'))
hexo.extend.renderer.register('sass', 'css', sassRenderer('sass'))