# @xwl7001/react-static-plugin-less

> A React-Static plugin that adds SSR support for less

Latest version **1.0.11** (published 2019-01-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @xwl7001/react-static-plugin-less
pnpm add @xwl7001/react-static-plugin-less
yarn add @xwl7001/react-static-plugin-less
bun add @xwl7001/react-static-plugin-less
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.11 |
| Published | 2019-01-04 |
| First published | 2019-01-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 101.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Xu Wenliang |
| Maintainers | xuwenliang |

## Links

- npm: https://www.npmjs.com/package/@xwl7001/react-static-plugin-less
- Repository: https://github.com/xwl7001/react-static-plugin-less
- Homepage: https://github.com/xwl7001/react-static-plugin-less#readme
- Issues: https://github.com/xwl7001/react-static-plugin-less/issues
- npm.io page: https://npm.io/package/@xwl7001/react-static-plugin-less

## Dependencies (7)

- [less](https://npm.io/package/less.md) ^3.9.0
- [semver](https://npm.io/package/semver.md) ^5.6.0
- [css-loader](https://npm.io/package/css-loader.md) ^2.1.0
- [less-loader](https://npm.io/package/less-loader.md) ^4.1.0
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^9.4.4
- [postcss-flexbugs-fixes](https://npm.io/package/postcss-flexbugs-fixes.md) ^4.1.0
- [extract-css-chunks-webpack-plugin](https://npm.io/package/extract-css-chunks-webpack-plugin.md) ^3.2.1

## Recent versions

- 1.0.11 (latest) — 2019-01-04
- 1.0.10 — 2019-01-04

## README

# react-static-plugin-less

A [React-Static](https://react-static.js.org) plugin that adds loader and SSR support for [LESS](https://github.com/less/less.js)

## Installation

In an existing react-static site run:

```bash
$ yarn add @xwl7001/react-static-plugin-less
```

Then add the plugin to your `static.config.js`:

```javascript
export default {
  plugins: ["@xwl7001/react-static-plugin-less"]
};
```

## With Options

```javascript
export default {
  plugins: [
    [
      "@xwl7001/react-static-plugin-less",
      {
        includePaths: ["..."], // always includes `src/`
        sourceMap: true,
        javascriptEnabled: true,
        // modifyVars: themeVariables,
        // other options for the less-loader
      }
    ]
  ]
};
```

---
_Source: https://npm.io/package/@xwl7001/react-static-plugin-less · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
