How to use include-media - 1 common examples

To help you get started, we’ve selected a few include-media examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kps3 / kps3-boilerplate / Gruntfile.js View on Github external
module.exports = function(grunt) {
  const sass = require('node-sass');
  const sassIncludePaths = [].concat(
    require('bourbon-neat').includePaths,
    require('include-media').includePath
  );

  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),

    banner: '/** \n' +
      ' * Automatically Generated - DO NOT EDIT \n' +
      ' * <%= pkg.name %> / v<%= pkg.version %> / <%= grunt.template.today("yyyy-mm-dd") %> \n' +
      ' */ \n\n',

    sourcePath: 'src',
    distPath: 'dist',
    templateDir: 'templates',
    assetDir: 'assets',
    styleDir: 'styles',
    scriptDir: 'scripts',

include-media

Simple, elegant and maintainable media queries in Sass

MIT
Latest version published 1 year ago

Package Health Score

65 / 100
Full package analysis

Popular include-media functions