Skip to content
Permalink
Browse files

Fix react-static-plugin-stylus readme and main entry #1244 (#1363)

  • Loading branch information
is2ei authored and SleeplessByte committed Jan 12, 2020
1 parent 6cc0c2d commit 66309bdcf60fe796a5cffbf61db6d9c1c1f3925d
@@ -16,6 +16,7 @@
- Fix "can not read property `catch` of `undefined`" ([#1313](https://github.com/react-static/react-static/pull/1313))
- Fix missing state.siteData in dev ([#1148](https://github.com/react-static/react-static/pull/1148))
- Fix empty or undefined error in sitemap plugin ([#1233](https://github.com/react-static/react-static/issues/1233) and [#1312](https://github.com/react-static/react-static/issues/1312))
- Fix package.json and README for `react-static-plugin-stylus` ([#1244](https://github.com/react-static/react-static/issues/1244))

## 7.2.2

@@ -1,20 +1,20 @@
# react-static-plugin-less
# react-static-plugin-stylus

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

## Installation

In an existing react-static site run:

```bash
$ yarn add react-static-plugin-less
$ yarn add react-static-plugin-stylus
```

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

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

@@ -24,10 +24,10 @@ export default {
export default {
plugins: [
[
"react-static-plugin-less",
"react-static-plugin-stylus",
{
includePaths: ["..."] // always includes `src/`
// other options for the less-loader
cssLoaderOptions: {}, // options for the css-loader, like modules
// other options for the stylus-loader
}
]
]
@@ -1,7 +1,7 @@
{
"name": "react-static-plugin-stylus",
"version": "7.2.2",
"main": "index.js",
"main": "node.api.js",
"license": "MIT",
"scripts": {
"build": "babel src --out-dir .",

0 comments on commit 66309bd

Please sign in to comment.
You can’t perform that action at this time.