Skip to content

Commit bfcc99a

Browse files
Change README example config to use regex value instead of string value for test fields
1 parent 643b37a commit bfcc99a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ With this configuration:
1919
``` javascript
2020
{
2121
module: { loaders: [
22-
{ test: "\\.jpg$", loader: "file-loader" },
23-
{ test: "\\.png$", loader: "url-loader?mimetype=image/png" }
22+
{ test: /\.jpg$/, loader: "file-loader" },
23+
{ test: /\.png$/, loader: "url-loader?mimetype=image/png" }
2424
]},
2525
output: {
2626
publicPath: "http://cdn.example.com/[hash]/"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy