Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including css-concat-loader with all npm packages installed. Try it out:

var cssConcatLoader = require("css-concat-loader")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

css-concat-loader v0.0.8

css-concat-loader

This webpack loader concatenates CSS files into a single file.

What's the difference between just usin css-loader?

This loader does concatenation without parsing, so you can combine CSS, Less, Sass or any other @imports you might want to use.

Usage

Adds support for multiple file extensions.

module.exports = {
  module: {
    {
      test: /\.css$/,
      loader: 'style!css-concat')
    }]
  },
  cssConcat: {
    extensions: ['.css', '.less']
  }
}
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free