Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
docs(README): add missing commas in examples (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
rderandom authored and evilebottnawi committed Aug 29, 2017
1 parent e5c1c5e commit 39016b8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ You can configure a custom filename template for your file using the query param
**webpack.config.js**
```js
{
loader: 'file-loader'
loader: 'file-loader',
options: {
name: '[path][name].[ext]'
}
Expand Down Expand Up @@ -105,7 +105,7 @@ By default, the path and name you specify will output the file in that same dire
**webpack.config.js**
```js
{
loader: 'file-loader'
loader: 'file-loader',
options: {
name: '[path][name].[ext]',
context: ''
Expand All @@ -120,7 +120,7 @@ You can specify custom `output` and `public` paths by using `outputPath`, `publi
**webpack.config.js**
```js
{
loader: 'file-loader'
loader: 'file-loader',
options: {
name: '[path][name].[ext]',
publicPath: 'assets'
Expand All @@ -133,7 +133,7 @@ You can specify custom `output` and `public` paths by using `outputPath`, `publi
**webpack.config.js**
```js
{
loader: 'file-loader'
loader: 'file-loader',
options: {
name: '[path][name].[ext]',
outputPath: 'images'
Expand Down Expand Up @@ -164,7 +164,7 @@ import img from './file.png'

```js
{
loader: 'file-loader'
loader: 'file-loader',
options: {
emitFile: false
}
Expand All @@ -187,7 +187,7 @@ import png from 'image.png'
**webpack.config.js**
```js
{
loader: 'file-loader'
loader: 'file-loader',
options: {
name: 'dirname/[hash].[ext]'
}
Expand All @@ -201,7 +201,7 @@ dirname/0dcbbaa701328ae351f.png
**webpack.config.js**
```js
{
loader: 'file-loader'
loader: 'file-loader',
options: {
name: '[sha512:hash:base64:7].[ext]'
}
Expand All @@ -219,7 +219,7 @@ import png from 'path/to/file.png'
**webpack.config.js**
```js
{
loader: 'file-loader'
loader: 'file-loader',
options: {
name: '[path][name].[ext]?[hash]'
}
Expand Down

0 comments on commit 39016b8

Please sign in to comment.