react-app-rewire-less
You might not need this rewire, Create React App added guide about how to add Less support to CRA without the need of ejecting. See [Adding a CSS Preprocessor](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/templa
Last updated 8 years ago by timarney .
MIT · Original npm · Tarball · package.json
$ npm install react-app-rewire-less 
SYNC missed versions from official npm registry.

Rewire create-react-app to use LESS!

You might not need this rewire, Create React App added guide about how to add Less support to CRA without the need of ejecting. See Adding a CSS Preprocessor section of CRA guide. Also note, that their solution is based on compiling Less without using Webpack.

Install

$ npm install --save react-app-rewire-less

Add it to your project

const rewireLess = require('react-app-rewire-less');

/* config-overrides.js */
module.exports = function override(config, env) {
  config = rewireLess(config, env);
  // with loaderOptions
  // config = rewireLess.withLoaderOptions(someLoaderOptions)(config, env);
  return config;
}

Current Tags

  • 1.0.0-alpha.14f8d3d1                                ...           canary (10 years ago)
  • 2.1.3                                ...           latest (8 years ago)

14 Versions

  • 2.1.3                                ...           8 years ago
  • 2.1.2                                ...           8 years ago
  • 2.1.1                                ...           9 years ago
  • 2.1.0                                ...           9 years ago
  • 2.0.9                                ...           9 years ago
  • 2.0.8                                ...           9 years ago
  • 2.0.7                                ...           9 years ago
  • 2.0.6                                ...           9 years ago
  • 2.0.5                                ...           9 years ago
  • 2.0.4                                ...           9 years ago
  • 2.0.3                                ...           10 years ago
  • 2.0.1                                ...           10 years ago
  • 1.0.0-alpha.14f8d3d1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 45
Today 0
This Week 5
This Month 38
Last Day 0
Last Week 1
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE