Nostalgic Perogi Monogramming
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

group-css-media-queries-loader

2.0.2 • Public • Published

group-css-media-queries-loader

A group-css-media-queries loader for webpack.

Open in npm Dependencies count downloads group-css-media-queries-loader

Install

yarn add -D group-css-media-queries-loader

Usage

Use the loader either via your webpack config, CLI or inline.

Via webpack config (recommended)

webpack.config.js

const sourceMap = true;
 
module.exports = {
  devtool: sourceMap && 'source-map',
  module: {
    rules: [
      {
        test: /\.css$/,
        use: [
          'style-loader',
          {
            loader: 'css-loader',
            options: { sourceMap }
          },
          // 'group-css-media-queries-loader',
          // or with config
          {
            loader: 'group-css-media-queries-loader',
            options: { sourceMap }
          }
        ]
      }
    ]
  }
}

Options

sourceMap boolean true or false

Enable CSS source maps.

Keywords

none

install

npm i group-css-media-queries-loader

Downloadsweekly downloads

209

version

2.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability