Skip to content

Commit d05274c

Browse files
njleonzhangmontogeek
authored andcommitted
fix(config): Correct Regex in example\ (#2686)
1 parent 38e6e57 commit d05274c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/configuration/module.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ module.exports = {
171171
module: {
172172
rules: [
173173
{
174-
test: /.css$/,
174+
test: /\.css$/,
175175
oneOf: [
176176
{
177177
resourceQuery: /inline/, // foo.css?inline
@@ -252,7 +252,7 @@ module.exports = {
252252
module: {
253253
rules: [
254254
{
255-
test: /.css$/,
255+
test: /\.css$/,
256256
resourceQuery: /inline/,
257257
use: 'url-loader'
258258
}

0 commit comments

Comments
 (0)