Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
constgen committed Jul 23, 2017
1 parent a06f307 commit dee0386
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
[![npm](https://img.shields.io/npm/v/neutrino-middleware-svelte-loader.svg)](https://www.npmjs.com/package/neutrino-middleware-svelte-loader)
[![npm](https://img.shields.io/npm/dt/neutrino-middleware-svelte-loader.svg)](https://www.npmjs.com/package/neutrino-middleware-svelte-loader)

`neutrino-middleware-svelte-loader` is a [Neutrino](https://neutrino.js.org) middleware for compiling HTML components with [Svelte](https://svelte.technology). It is compatible with **.html**, **.htm** and **.svelte** files.
`neutrino-middleware-svelte-loader` is a [Neutrino](https://neutrino.js.org) middleware for compiling HTML components with [Svelte](https://svelte.technology). It is compatible with **.html**, **.htm**, **.svelte** and **.svlt** files.

## Requirements

* Node.js v6.9+
* Neutrino v5
* Neutrino v5 and v6

## Installation

Expand All @@ -31,10 +31,10 @@ neutrino.use(svelteLoader, {
})
```

* `include` - optional array of paths to include in the compilation. Maps to Webpack's Rule.include
* `exclude` - optional array of paths to exclude from the compilation. Maps to Webpack's Rule.include
* `include`: optional array of paths to include in the compilation. Maps to Webpack's Rule.include
* `exclude`: optional array of paths to exclude from the compilation. Maps to Webpack's Rule.include

It is recommended to call this middlware after `neutrino.config.module.rule('compile')` initialization to avoid unexpected overriding. More imformation about usage of Neutrino middlwares can be found in the [documentation](https://neutrino.js.org/middleware).
It is recommended to call this middlware after the `neutrino.config.module.rule('compile')` initialization to avoid unexpected overriding. More imformation about usage of Neutrino middlwares can be found in the [documentation](https://neutrino.js.org/middleware).

## Rules

Expand Down

0 comments on commit dee0386

Please sign in to comment.