0.6.0 • Published 7 years ago

strip-media-queries v0.6.0

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

Strip Media Queries

npm version

Node module to strip media queries from a CSS file and create a file with them.

Usage

Install the module globally via:

npm install strip-media-queries -g

Run it from your project folder. e.g.

strip-media-queries --src=demo/**.css --width=400

Options

The options for the module are the following:

  • src: The name of the file that contains the media queries.
  • dest: The name of the file that will contains all the media queries.
  • ignore: The files to be ignored.
  • widths: The width of the media queries to strip out, to add multiple widths use commas e.g. --width=100,200.
  • extract: The widths of the media queries to extract out of the media rule e.g. --width=800. Default: '[]'
  • override: Configure if override the original file or create a new one. Default: false
  • stripperSuffix: The suffix to add to the new stripped file. Default: '.stripped.css'
0.6.0

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago