Skip to content

Commit 1fc068e

Browse files
chore: update snapshots
1 parent a9e2098 commit 1fc068e

File tree

1 file changed

+69
-69
lines changed

1 file changed

+69
-69
lines changed

test/create-webpack-app/init/__snapshots__/init.test.js.snap.webpack5

Lines changed: 69 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const config = {
113113
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
114114
type: 'asset',
115115
},
116-
116+
117117

118118
// Add your rules for custom modules here
119119
// Learn more about loaders from https://webpack.js.org/loaders/
@@ -124,8 +124,8 @@ const config = {
124124
module.exports = () => {
125125
if (isProduction) {
126126
config.mode = 'production';
127-
128-
127+
128+
129129
} else {
130130
config.mode = 'development';
131131
}
@@ -190,7 +190,7 @@ const config = {
190190
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
191191
type: 'asset',
192192
},
193-
193+
194194
{
195195
test: /\\.html$/i,
196196
use: ['html-loader'],
@@ -205,10 +205,10 @@ const config = {
205205
module.exports = () => {
206206
if (isProduction) {
207207
config.mode = 'production';
208-
209-
208+
209+
210210
config.plugins.push(new WorkboxWebpackPlugin.GenerateSW());
211-
211+
212212
} else {
213213
config.mode = 'development';
214214
}
@@ -265,7 +265,7 @@ const config = {
265265
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
266266
type: 'asset',
267267
},
268-
268+
269269
{
270270
test: /\\.html$/i,
271271
use: ['html-loader'],
@@ -280,8 +280,8 @@ const config = {
280280
module.exports = () => {
281281
if (isProduction) {
282282
config.mode = 'production';
283-
284-
283+
284+
285285
} else {
286286
config.mode = 'development';
287287
}
@@ -340,7 +340,7 @@ const config = {
340340
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
341341
type: 'asset',
342342
},
343-
343+
344344
{
345345
test: /\\.html$/i,
346346
use: ['html-loader'],
@@ -355,10 +355,10 @@ const config = {
355355
module.exports = () => {
356356
if (isProduction) {
357357
config.mode = 'production';
358-
359-
358+
359+
360360
config.plugins.push(new WorkboxWebpackPlugin.GenerateSW());
361-
361+
362362
} else {
363363
config.mode = 'development';
364364
}
@@ -415,7 +415,7 @@ const config = {
415415
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
416416
type: 'asset',
417417
},
418-
418+
419419

420420
// Add your rules for custom modules here
421421
// Learn more about loaders from https://webpack.js.org/loaders/
@@ -426,8 +426,8 @@ const config = {
426426
module.exports = () => {
427427
if (isProduction) {
428428
config.mode = 'production';
429-
430-
429+
430+
431431
} else {
432432
config.mode = 'development';
433433
}
@@ -601,10 +601,10 @@ const config = {
601601
module.exports = () => {
602602
if (isProduction) {
603603
config.mode = 'production';
604-
605-
604+
605+
606606
config.plugins.push(new WorkboxWebpackPlugin.GenerateSW());
607-
607+
608608
} else {
609609
config.mode = 'development';
610610
}
@@ -717,12 +717,12 @@ const config = {
717717
module.exports = () => {
718718
if (isProduction) {
719719
config.mode = 'production';
720-
720+
721721
config.plugins.push(new MiniCssExtractPlugin());
722-
723-
722+
723+
724724
config.plugins.push(new WorkboxWebpackPlugin.GenerateSW());
725-
725+
726726
} else {
727727
config.mode = 'development';
728728
}
@@ -838,10 +838,10 @@ const config = {
838838
module.exports = () => {
839839
if (isProduction) {
840840
config.mode = 'production';
841-
842-
841+
842+
843843
config.plugins.push(new WorkboxWebpackPlugin.GenerateSW());
844-
844+
845845
} else {
846846
config.mode = 'development';
847847
}
@@ -962,12 +962,12 @@ const config = {
962962
module.exports = () => {
963963
if (isProduction) {
964964
config.mode = 'production';
965-
965+
966966
config.plugins.push(new MiniCssExtractPlugin());
967-
968-
967+
968+
969969
config.plugins.push(new WorkboxWebpackPlugin.GenerateSW());
970-
970+
971971
} else {
972972
config.mode = 'development';
973973
}
@@ -1024,7 +1024,7 @@ const config = {
10241024
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
10251025
type: 'asset',
10261026
},
1027-
1027+
10281028

10291029
// Add your rules for custom modules here
10301030
// Learn more about loaders from https://webpack.js.org/loaders/
@@ -1038,8 +1038,8 @@ const config = {
10381038
module.exports = () => {
10391039
if (isProduction) {
10401040
config.mode = 'production';
1041-
1042-
1041+
1042+
10431043
} else {
10441044
config.mode = 'development';
10451045
}
@@ -1152,10 +1152,10 @@ const config = {
11521152
module.exports = () => {
11531153
if (isProduction) {
11541154
config.mode = 'production';
1155-
1156-
1155+
1156+
11571157
config.plugins.push(new WorkboxWebpackPlugin.GenerateSW());
1158-
1158+
11591159
} else {
11601160
config.mode = 'development';
11611161
}
@@ -1273,12 +1273,12 @@ const config = {
12731273
module.exports = () => {
12741274
if (isProduction) {
12751275
config.mode = 'production';
1276-
1276+
12771277
config.plugins.push(new MiniCssExtractPlugin());
1278-
1279-
1278+
1279+
12801280
config.plugins.push(new WorkboxWebpackPlugin.GenerateSW());
1281-
1281+
12821282
} else {
12831283
config.mode = 'development';
12841284
}
@@ -1342,7 +1342,7 @@ const config = {
13421342
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
13431343
type: 'asset',
13441344
},
1345-
1345+
13461346

13471347
// Add your rules for custom modules here
13481348
// Learn more about loaders from https://webpack.js.org/loaders/
@@ -1353,10 +1353,10 @@ const config = {
13531353
module.exports = () => {
13541354
if (isProduction) {
13551355
config.mode = 'production';
1356-
1356+
13571357
config.plugins.push(new MiniCssExtractPlugin());
1358-
1359-
1358+
1359+
13601360
} else {
13611361
config.mode = 'development';
13621362
}
@@ -1420,7 +1420,7 @@ const config = {
14201420
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
14211421
type: 'asset',
14221422
},
1423-
1423+
14241424

14251425
// Add your rules for custom modules here
14261426
// Learn more about loaders from https://webpack.js.org/loaders/
@@ -1431,10 +1431,10 @@ const config = {
14311431
module.exports = () => {
14321432
if (isProduction) {
14331433
config.mode = 'production';
1434-
1434+
14351435
config.plugins.push(new MiniCssExtractPlugin());
1436-
1437-
1436+
1437+
14381438
} else {
14391439
config.mode = 'development';
14401440
}
@@ -1499,7 +1499,7 @@ const config = {
14991499
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
15001500
type: 'asset',
15011501
},
1502-
1502+
15031503

15041504
// Add your rules for custom modules here
15051505
// Learn more about loaders from https://webpack.js.org/loaders/
@@ -1510,10 +1510,10 @@ const config = {
15101510
module.exports = () => {
15111511
if (isProduction) {
15121512
config.mode = 'production';
1513-
1513+
15141514
config.plugins.push(new MiniCssExtractPlugin());
1515-
1516-
1515+
1516+
15171517
} else {
15181518
config.mode = 'development';
15191519
}
@@ -1584,7 +1584,7 @@ const config = {
15841584
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
15851585
type: 'asset',
15861586
},
1587-
1587+
15881588

15891589
// Add your rules for custom modules here
15901590
// Learn more about loaders from https://webpack.js.org/loaders/
@@ -1595,10 +1595,10 @@ const config = {
15951595
module.exports = () => {
15961596
if (isProduction) {
15971597
config.mode = 'production';
1598-
1598+
15991599
config.plugins.push(new MiniCssExtractPlugin());
1600-
1601-
1600+
1601+
16021602
} else {
16031603
config.mode = 'development';
16041604
}
@@ -1662,7 +1662,7 @@ const config = {
16621662
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
16631663
type: 'asset',
16641664
},
1665-
1665+
16661666

16671667
// Add your rules for custom modules here
16681668
// Learn more about loaders from https://webpack.js.org/loaders/
@@ -1673,10 +1673,10 @@ const config = {
16731673
module.exports = () => {
16741674
if (isProduction) {
16751675
config.mode = 'production';
1676-
1676+
16771677
config.plugins.push(new MiniCssExtractPlugin());
1678-
1679-
1678+
1679+
16801680
} else {
16811681
config.mode = 'development';
16821682
}
@@ -1743,7 +1743,7 @@ const config = {
17431743
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
17441744
type: 'asset',
17451745
},
1746-
1746+
17471747

17481748
// Add your rules for custom modules here
17491749
// Learn more about loaders from https://webpack.js.org/loaders/
@@ -1754,10 +1754,10 @@ const config = {
17541754
module.exports = () => {
17551755
if (isProduction) {
17561756
config.mode = 'production';
1757-
1757+
17581758
config.plugins.push(new MiniCssExtractPlugin());
1759-
1760-
1759+
1760+
17611761
} else {
17621762
config.mode = 'development';
17631763
}
@@ -1821,7 +1821,7 @@ const config = {
18211821
test: /\\.(eot|svg|ttf|woff|woff2|png|jpg|gif)$/i,
18221822
type: 'asset',
18231823
},
1824-
1824+
18251825

18261826
// Add your rules for custom modules here
18271827
// Learn more about loaders from https://webpack.js.org/loaders/
@@ -1832,10 +1832,10 @@ const config = {
18321832
module.exports = () => {
18331833
if (isProduction) {
18341834
config.mode = 'production';
1835-
1835+
18361836
config.plugins.push(new MiniCssExtractPlugin());
1837-
1838-
1837+
1838+
18391839
} else {
18401840
config.mode = 'development';
18411841
}

0 commit comments

Comments
 (0)