Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc EN] — Several files — Consistency changes #889

Merged
merged 1 commit into from
Jul 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/en/configurations/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Sometimes you may want to:

To do that, specify the `loaders` option for `vue-loader`:

> Note that `preLoaders` and `postLoaders` are only supported in >=10.3.0
> Note that `preLoaders` and `postLoaders` are only supported in 10.3.0+

### Webpack 2.x

Expand Down
6 changes: 3 additions & 3 deletions docs/en/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ module.exports = {
### preLoaders

- type: `{ [lang: string]: string }`
- only supported in >=10.3.0
- only supported in 10.3.0+

The config format is the same as `loaders`, but `preLoaders` are applied to corresponding language blocks before the default loaders. You can use this to pre-process language blocks - a common use case would be build-time i18n.

### postLoaders

- type: `{ [lang: string]: string }`
- only supported in >=10.3.0
- only supported in 10.3.0+

The config format is the same as `loaders`, but `postLoaders` are applied after the default loaders. You can use this to post-process language blocks. However note that this is a bit more complicated:

Expand All @@ -81,7 +81,7 @@ module.exports = {

### postcss

> Note: in >=11.0.0 it is recommended to use a PostCSS config file instead. [The usage is the same as `postcss-loader`](https://github.com/postcss/postcss-loader#usage).
> Note: in 11.0.0+ it is recommended to use a PostCSS config file instead. [The usage is the same as `postcss-loader`](https://github.com/postcss/postcss-loader#usage).

- type: `Array` or `Function` or `Object`

Expand Down