Skip to content

Commit 83a27fa

Browse files
committed
Typos
1 parent 6c034fd commit 83a27fa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
A [Rollup](https://github.com/rollup/rollup) plugin whose sole purpose is to collect all the CSS files you import into your project and bundle them into a single glorious CSS file.
44

5+
Refreshingly, it preserves the order in which the CSS files are imported.
6+
57
## Usage
68

79
```js
@@ -14,19 +16,17 @@ export default {
1416
file: 'dist/index.js',
1517
format: 'cjs'
1618
},
17-
plugins: {
19+
plugins: [
1820
cssbundle()
19-
}
21+
]
2022
}
2123
```
2224

23-
## Options
24-
25-
Like all well-behaved Rollup plugins, `cssbundle` supports the `include` and `exclude` options that let you configure on which files the plugin should run. Additionally:
25+
Like all well-behaved Rollup plugins, cssbundle supports the __include__ and __exclude__ options that filter the files on which the plugin should run.
2626

27-
__output__: _String_ is an optional path wherein to put the extracted CSS; when ommitted, we use the bundle's filename to fashion a name for the bundled CSS.
27+
__output__: _String_ is an optional path for the extracted CSS; when ommitted, we use the bundle's file name to fashion a path for the bundled CSS.
2828

29-
__transform__: _Function_ is available for processing the CSS, such as with [postcss](https://github.com/postcss/postcss). It receives a string containing the code to process as its only parameter, and should return the processed code:
29+
__transform__: _Function_ is available for processing the CSS, such as with [postcss](https://github.com/postcss/postcss). It receives a string containing the code to process as its only parameter, and should return the processed code. Par example:
3030

3131
```js
3232
// rollup.config.js

0 commit comments

Comments
 (0)