component-style-loader

1.0.1 • Public • Published

Install

npm install --save-dev component-style-loader

Usage

The less-loader interprets @import and url() like requires.

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

Via webpack config (recommended)

webpack.config.js

module.exports = {
  module: {
    rules: [
      { 
	  test: /\.less$/, 
	  loader: 'component-style-loader!css-loader!less-loader'
	  }
    ]
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i component-style-loader

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • naveenatti9