Skip to content

Commit f27c98c

Browse files
add rollup-plugin-url to support importing images
1 parent 52caccb commit f27c98c

File tree

6 files changed

+2954
-56
lines changed

6 files changed

+2954
-56
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# create-react-library
22

3-
> CLI for easily publishing modern React modules with Rollup and example usage via create-react-app.
3+
> CLI for easily publishing modern React libraries with Rollup and example usage via create-react-app.
44
55
[![NPM](https://img.shields.io/npm/v/create-react-library.svg)](https://www.npmjs.com/package/create-react-library) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
66

@@ -13,19 +13,19 @@
1313
</p>
1414

1515

16-
The CLI is based on this [boilerplate](https://github.com/transitive-bullshit/react-modern-library-boilerplate), which you can optionally read in-depth about [here](https://hackernoon.com/publishing-baller-react-modules-2b039d84bce7).
16+
The CLI is based on this [boilerplate](https://github.com/transitive-bullshit/react-modern-library-boilerplate), which you can optionally read about [here](https://hackernoon.com/publishing-baller-react-modules-2b039d84bce7).
1717

1818
## Features
1919

20-
- Support all modern JS language features for component development out of the box
20+
- Supports all modern JS language features for component development out of the box
2121
- Build process to convert source to `umd` and `es` module formats for publishing to npm
2222
- Comes with an `example` app using a standard [create-react-app](https://github.com/facebookincubator/create-react-app), serving 2 purposes
2323
- Local, hot-reload server for developing your module
2424
- Easily publishable to github pages so users can quickly play with your module
25-
- Use [Rollup](https://rollupjs.org/) for build process and [Babel](https://babeljs.io/) for transpilation
25+
- Uses [Rollup](https://rollupjs.org/) for build process and [Babel](https://babeljs.io/) for transpilation
2626
- See the [blog post](https://hackernoon.com/publishing-baller-react-modules-2b039d84bce7) for an explanation of Rollup vs Webpack
27-
- Allow the use of `npm` modules within your library, either as dependencies or peer-dependencies
28-
- Support importing CSS in your components (with css modules enabled by default)
27+
- Allows the use of `npm` modules within your library, either as dependencies or peer-dependencies
28+
- Supports importing CSS in your components (with css modules enabled by default)
2929
- Note that CSS support will be a noop if you're using css-in-js
3030
- Testing with [Jest](https://facebook.github.io/jest/), using `react-scripts` from `create-react-app`
3131
- Sourcemap creation enabled by default

0 commit comments

Comments
 (0)