@dtwo/schema 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +6 -2
- package/dist/index.d.ts +1192 -1018
- package/dist/index.mjs +944 -4
- package/package.json +23 -22
- package/schema/config.d.ts +1168 -1012
- package/schema/config.defaults.json +5 -4
- package/schema/config.md +22 -13
- package/schema/config.schema.json +115 -64
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"title": "Configure Dtwo component auto-registration.",
|
|
6
6
|
"description": "Any components in the directories configured here can be used throughout your pages, layouts (and other components) without needing to explicitly import them.",
|
|
7
7
|
"tags": [
|
|
8
|
-
"@
|
|
8
|
+
"@see https://dtwojs.web.app/docs/guide/directory-structure/components"
|
|
9
9
|
],
|
|
10
10
|
"tsType": "boolean | typeof import('../src/types/components').ComponentsOptions | typeof import('../src/types/components').ComponentsOptions['dirs']",
|
|
11
11
|
"markdownType": "boolean | SrcTypesComponentsComponentsOptions | SrcTypesComponentsComponentsOptions['dirs']",
|
|
@@ -24,18 +24,27 @@
|
|
|
24
24
|
"imports": {
|
|
25
25
|
"title": "Configure how Dtwo auto-imports composables into your application.",
|
|
26
26
|
"description": "",
|
|
27
|
-
"tags": [
|
|
27
|
+
"tags": [
|
|
28
|
+
"@see [Dtwo 3 documentation](https://dtwojs.web.app/docs/guide/directory-structure/composables)"
|
|
29
|
+
],
|
|
28
30
|
"tsType": "typeof import('../src/types/imports').ImportsOptions",
|
|
29
31
|
"markdownType": "SrcTypesImportsImportsOptions",
|
|
30
32
|
"id": "#imports",
|
|
31
33
|
"properties": {
|
|
32
34
|
"global": {
|
|
33
35
|
"type": "boolean",
|
|
36
|
+
"id": "#imports/global",
|
|
34
37
|
"default": false
|
|
35
38
|
},
|
|
36
39
|
"dirs": {
|
|
37
|
-
"
|
|
40
|
+
"title": "An array of custom directories that will be auto-imported. Note that this option will not override the default directories (~/composables, ~/utils).",
|
|
41
|
+
"description": "",
|
|
42
|
+
"tags": [
|
|
43
|
+
"@example\n```js\nimports: {\n // Auto-import crabs stores defined in `~/stores`\n dirs: ['stores']\n}\n```"
|
|
44
|
+
],
|
|
45
|
+
"id": "#imports/dirs",
|
|
38
46
|
"default": [],
|
|
47
|
+
"type": "array",
|
|
39
48
|
"items": {
|
|
40
49
|
"type": "any"
|
|
41
50
|
}
|
|
@@ -125,7 +134,7 @@
|
|
|
125
134
|
"title": "Set default configuration for `<head>` on every page.",
|
|
126
135
|
"description": "",
|
|
127
136
|
"tags": [
|
|
128
|
-
"@example\n```js\napp: {\n head: {\n meta: [\n // <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n { name: 'viewport', content: 'width=device-width, initial-scale=1' }\n ],\n script: [\n // <script src=\"https://myawesome-lib.js\"></script>\n { src: 'https://awesome-lib.js' }\n ],\n link: [\n // <link rel=\"stylesheet\" href=\"https://myawesome-lib.css\">\n { rel: 'stylesheet', href: 'https://awesome-lib.css' }\n ],\n // please note that this is an area that is likely to change\n style: [\n // <style type=\"text/css\">:root { color: red }</style>\n { children: ':root { color: red }', type: 'text/css' }\n ],\n noscript: [\n // <noscript>
|
|
137
|
+
"@example\n```js\napp: {\n head: {\n meta: [\n // <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n { name: 'viewport', content: 'width=device-width, initial-scale=1' }\n ],\n script: [\n // <script src=\"https://myawesome-lib.js\"></script>\n { src: 'https://awesome-lib.js' }\n ],\n link: [\n // <link rel=\"stylesheet\" href=\"https://myawesome-lib.css\">\n { rel: 'stylesheet', href: 'https://awesome-lib.css' }\n ],\n // please note that this is an area that is likely to change\n style: [\n // <style type=\"text/css\">:root { color: red }</style>\n { children: ':root { color: red }', type: 'text/css' }\n ],\n noscript: [\n // <noscript>JavaScript is required</noscript>\n { children: 'JavaScript is required' }\n ]\n }\n}\n```"
|
|
129
138
|
],
|
|
130
139
|
"tsType": "typeof import('../src/types/config').DtwoAppConfig['head']",
|
|
131
140
|
"markdownType": "SrcTypesConfigDtwoAppConfig['head']",
|
|
@@ -231,6 +240,8 @@
|
|
|
231
240
|
"title": "An array of dtwo app plugins.",
|
|
232
241
|
"description": "Each plugin can be a string (which can be an absolute or relative path to a file). If it ends with `.client` or `.server` then it will be automatically loaded only in the appropriate context.\nIt can also be an object with `src` and `mode` keys.",
|
|
233
242
|
"tags": [
|
|
243
|
+
"@note Plugins are also auto-registered from the `~/plugins` directory\nand these plugins do not need to be listed in `dtwo.config` unless you\nneed to customize their order. All plugins are deduplicated by their src path.",
|
|
244
|
+
"@see https://dtwojs.web.app/docs/guide/directory-structure/plugins",
|
|
234
245
|
"@example\n```js\nplugins: [\n '~/plugins/foo.client.js', // only in client side\n '~/plugins/bar.server.js', // only in server side\n '~/plugins/baz.js', // both client & server\n { src: '~/plugins/both-sides.js' },\n { src: '~/plugins/client-only.js', mode: 'client' }, // only on client side\n { src: '~/plugins/server-only.js', mode: 'server' } // only on server side\n]\n```"
|
|
235
246
|
],
|
|
236
247
|
"tsType": "(typeof import('../src/types/dtwo').DtwoPlugin | string)[]",
|
|
@@ -290,7 +301,7 @@
|
|
|
290
301
|
"tags": [
|
|
291
302
|
"@example\n```js\n transpile: [({ isLegacy }) => isLegacy && 'ky']\n```"
|
|
292
303
|
],
|
|
293
|
-
"tsType": "Array<string | RegExp |
|
|
304
|
+
"tsType": "Array<string | RegExp | ((ctx: { isClient?: boolean; isServer?: boolean; isDev: boolean }) => string | RegExp | false)>",
|
|
294
305
|
"id": "#build/transpile",
|
|
295
306
|
"default": [],
|
|
296
307
|
"type": "array",
|
|
@@ -406,9 +417,7 @@
|
|
|
406
417
|
],
|
|
407
418
|
"type": "array",
|
|
408
419
|
"items": {
|
|
409
|
-
"type":
|
|
410
|
-
"string"
|
|
411
|
-
]
|
|
420
|
+
"type": "string"
|
|
412
421
|
}
|
|
413
422
|
},
|
|
414
423
|
"dev": {
|
|
@@ -546,9 +555,7 @@
|
|
|
546
555
|
],
|
|
547
556
|
"type": "array",
|
|
548
557
|
"items": {
|
|
549
|
-
"type":
|
|
550
|
-
"string"
|
|
551
|
-
]
|
|
558
|
+
"type": "string"
|
|
552
559
|
}
|
|
553
560
|
},
|
|
554
561
|
"alias": {
|
|
@@ -605,9 +612,7 @@
|
|
|
605
612
|
],
|
|
606
613
|
"type": "array",
|
|
607
614
|
"items": {
|
|
608
|
-
"type":
|
|
609
|
-
"string"
|
|
610
|
-
]
|
|
615
|
+
"type": "string"
|
|
611
616
|
}
|
|
612
617
|
},
|
|
613
618
|
"watchers": {
|
|
@@ -634,6 +639,7 @@
|
|
|
634
639
|
"properties": {
|
|
635
640
|
"aggregateTimeout": {
|
|
636
641
|
"type": "number",
|
|
642
|
+
"id": "#watchers/webpack/aggregateTimeout",
|
|
637
643
|
"default": 1000
|
|
638
644
|
}
|
|
639
645
|
},
|
|
@@ -652,6 +658,7 @@
|
|
|
652
658
|
"properties": {
|
|
653
659
|
"ignoreInitial": {
|
|
654
660
|
"type": "boolean",
|
|
661
|
+
"id": "#watchers/chokidar/ignoreInitial",
|
|
655
662
|
"default": true
|
|
656
663
|
}
|
|
657
664
|
},
|
|
@@ -857,6 +864,22 @@
|
|
|
857
864
|
"id": "#experimental/writeEarlyHints",
|
|
858
865
|
"default": false,
|
|
859
866
|
"type": "boolean"
|
|
867
|
+
},
|
|
868
|
+
"componentIslands": {
|
|
869
|
+
"title": "Experimental component islands support with <DtwoIsland> and .island.kdu files.",
|
|
870
|
+
"description": "",
|
|
871
|
+
"tags": [],
|
|
872
|
+
"id": "#experimental/componentIslands",
|
|
873
|
+
"default": false,
|
|
874
|
+
"type": "boolean"
|
|
875
|
+
},
|
|
876
|
+
"configSchema": {
|
|
877
|
+
"title": "Enable experimental config schema support",
|
|
878
|
+
"description": "",
|
|
879
|
+
"tags": [],
|
|
880
|
+
"id": "#experimental/configSchema",
|
|
881
|
+
"default": false,
|
|
882
|
+
"type": "boolean"
|
|
860
883
|
}
|
|
861
884
|
},
|
|
862
885
|
"default": {
|
|
@@ -870,7 +893,9 @@
|
|
|
870
893
|
"noScripts": false,
|
|
871
894
|
"payloadExtraction": false,
|
|
872
895
|
"crossOriginPrefetch": false,
|
|
873
|
-
"writeEarlyHints": false
|
|
896
|
+
"writeEarlyHints": false,
|
|
897
|
+
"componentIslands": false,
|
|
898
|
+
"configSchema": false
|
|
874
899
|
},
|
|
875
900
|
"type": "object"
|
|
876
901
|
},
|
|
@@ -879,13 +904,9 @@
|
|
|
879
904
|
"properties": {
|
|
880
905
|
"routes": {
|
|
881
906
|
"title": "The routes to generate.",
|
|
882
|
-
"description": "If you are using the crawler, this will be only the starting point for route generation. This is often necessary when using dynamic routes.\nIt
|
|
907
|
+
"description": "If you are using the crawler, this will be only the starting point for route generation. This is often necessary when using dynamic routes.\nIt is preferred to use `hole.prerender.routes`.",
|
|
883
908
|
"tags": [
|
|
884
|
-
"@example\n```js\nroutes: ['/users/1', '/users/2', '/users/3']\n```"
|
|
885
|
-
"You can pass a function that returns a promise or a function that takes a callback. It should\nreturn an array of strings or objects with `route` and (optional) `payload` keys.",
|
|
886
|
-
"@example\n```js\nexport default {\n generate: {\n async routes() {\n const res = await axios.get('https://my-api/users')\n return res.data.map(user => ({ route: '/users/' + user.id, payload: user }))\n }\n }\n}\n```\nOr instead:\n```js\nexport default {\n generate: {\n routes(callback) {\n axios\n .get('https://my-api/users')\n .then(res => {\n const routes = res.data.map(user => '/users/' + user.id)\n callback(null, routes)\n })\n .catch(callback)\n }\n }\n}\n```",
|
|
887
|
-
"If `routes()` returns a payload, it can be accessed from the Dtwo context.",
|
|
888
|
-
"@example\n```js\nexport default {\n async useAsyncData ({ params, error, payload }) {\n if (payload) return { user: payload }\n else return { user: await backend.fetchUser(params.id) }\n }\n}\n```"
|
|
909
|
+
"@example\n```js\nroutes: ['/users/1', '/users/2', '/users/3']\n```"
|
|
889
910
|
],
|
|
890
911
|
"id": "#generate/routes",
|
|
891
912
|
"default": [],
|
|
@@ -895,7 +916,7 @@
|
|
|
895
916
|
}
|
|
896
917
|
},
|
|
897
918
|
"exclude": {
|
|
898
|
-
"title": "
|
|
919
|
+
"title": "This option is no longer used. Instead, use `hole.prerender.ignore`.",
|
|
899
920
|
"description": "",
|
|
900
921
|
"tags": [],
|
|
901
922
|
"id": "#generate/exclude",
|
|
@@ -1089,6 +1110,7 @@
|
|
|
1089
1110
|
"title": "Hole server handlers.",
|
|
1090
1111
|
"description": "Each handler accepts the following options: - handler: The path to the file defining the handler. - route: The route under which the handler is available. This follows the conventions of https://github.com/unjs/radix3. - method: The HTTP method of requests that should be handled. - middleware: Specifies whether it is a middleware handler. - lazy: Specifies whether to use lazy loading to import the handler.",
|
|
1091
1112
|
"tags": [
|
|
1113
|
+
"@see https://dtwojs.web.app/docs/guide/directory-structure/server",
|
|
1092
1114
|
"@note Files from `server/api`, `server/middleware` and `server/routes` will be automatically registered by Dtwo.",
|
|
1093
1115
|
"@example\n```js\nserverHandlers: [\n { route: '/path/foo/**:name', handler: '~/server/foohandler.ts' }\n]\n```"
|
|
1094
1116
|
],
|
|
@@ -1119,14 +1141,6 @@
|
|
|
1119
1141
|
"postcss": {
|
|
1120
1142
|
"id": "#postcss",
|
|
1121
1143
|
"properties": {
|
|
1122
|
-
"config": {
|
|
1123
|
-
"title": "Path to postcss config file.",
|
|
1124
|
-
"description": "",
|
|
1125
|
-
"tags": [],
|
|
1126
|
-
"id": "#postcss/config",
|
|
1127
|
-
"default": false,
|
|
1128
|
-
"type": "boolean"
|
|
1129
|
-
},
|
|
1130
1144
|
"plugins": {
|
|
1131
1145
|
"title": "Options for configuring PostCSS plugins.",
|
|
1132
1146
|
"description": "https://postcss.org/",
|
|
@@ -1174,7 +1188,6 @@
|
|
|
1174
1188
|
}
|
|
1175
1189
|
},
|
|
1176
1190
|
"default": {
|
|
1177
|
-
"config": false,
|
|
1178
1191
|
"plugins": {
|
|
1179
1192
|
"postcss-import": {},
|
|
1180
1193
|
"postcss-url": {},
|
|
@@ -1230,7 +1243,9 @@
|
|
|
1230
1243
|
"typeCheck": {
|
|
1231
1244
|
"title": "Enable build-time type checking.",
|
|
1232
1245
|
"description": "If set to true, this will type check in development. You can restrict this to build-time type checking by setting it to `build`. Requires to install `typescript` and `kdu-tsc` as dev dependencies.",
|
|
1233
|
-
"tags": [
|
|
1246
|
+
"tags": [
|
|
1247
|
+
"@see https://dtwojs.web.app/docs/guide/concepts/typescript"
|
|
1248
|
+
],
|
|
1234
1249
|
"tsType": "boolean | 'build'",
|
|
1235
1250
|
"id": "#typescript/typeCheck",
|
|
1236
1251
|
"default": false,
|
|
@@ -1283,8 +1298,9 @@
|
|
|
1283
1298
|
"type": "string"
|
|
1284
1299
|
},
|
|
1285
1300
|
"logLevel": {
|
|
1286
|
-
"
|
|
1287
|
-
"default": "
|
|
1301
|
+
"id": "#wite/logLevel",
|
|
1302
|
+
"default": "info",
|
|
1303
|
+
"type": "string"
|
|
1288
1304
|
},
|
|
1289
1305
|
"define": {
|
|
1290
1306
|
"id": "#wite/define",
|
|
@@ -1298,6 +1314,7 @@
|
|
|
1298
1314
|
"properties": {
|
|
1299
1315
|
"extensions": {
|
|
1300
1316
|
"type": "array",
|
|
1317
|
+
"id": "#wite/resolve/extensions",
|
|
1301
1318
|
"default": [
|
|
1302
1319
|
".mjs",
|
|
1303
1320
|
".js",
|
|
@@ -1308,9 +1325,7 @@
|
|
|
1308
1325
|
".kdu"
|
|
1309
1326
|
],
|
|
1310
1327
|
"items": {
|
|
1311
|
-
"type":
|
|
1312
|
-
"string"
|
|
1313
|
-
]
|
|
1328
|
+
"type": "string"
|
|
1314
1329
|
}
|
|
1315
1330
|
}
|
|
1316
1331
|
},
|
|
@@ -1373,9 +1388,7 @@
|
|
|
1373
1388
|
],
|
|
1374
1389
|
"type": "array",
|
|
1375
1390
|
"items": {
|
|
1376
|
-
"type":
|
|
1377
|
-
"string"
|
|
1378
|
-
]
|
|
1391
|
+
"type": "string"
|
|
1379
1392
|
}
|
|
1380
1393
|
}
|
|
1381
1394
|
},
|
|
@@ -1391,14 +1404,17 @@
|
|
|
1391
1404
|
"properties": {
|
|
1392
1405
|
"jsxFactory": {
|
|
1393
1406
|
"type": "string",
|
|
1407
|
+
"id": "#wite/esbuild/jsxFactory",
|
|
1394
1408
|
"default": "h"
|
|
1395
1409
|
},
|
|
1396
1410
|
"jsxFragment": {
|
|
1397
1411
|
"type": "string",
|
|
1412
|
+
"id": "#wite/esbuild/jsxFragment",
|
|
1398
1413
|
"default": "Fragment"
|
|
1399
1414
|
},
|
|
1400
1415
|
"tsconfigRaw": {
|
|
1401
1416
|
"type": "string",
|
|
1417
|
+
"id": "#wite/esbuild/tsconfigRaw",
|
|
1402
1418
|
"default": "{}"
|
|
1403
1419
|
}
|
|
1404
1420
|
},
|
|
@@ -1411,6 +1427,7 @@
|
|
|
1411
1427
|
},
|
|
1412
1428
|
"clearScreen": {
|
|
1413
1429
|
"type": "boolean",
|
|
1430
|
+
"id": "#wite/clearScreen",
|
|
1414
1431
|
"default": false
|
|
1415
1432
|
},
|
|
1416
1433
|
"build": {
|
|
@@ -1423,6 +1440,7 @@
|
|
|
1423
1440
|
},
|
|
1424
1441
|
"emptyOutDir": {
|
|
1425
1442
|
"type": "boolean",
|
|
1443
|
+
"id": "#wite/build/emptyOutDir",
|
|
1426
1444
|
"default": false
|
|
1427
1445
|
}
|
|
1428
1446
|
},
|
|
@@ -1450,9 +1468,7 @@
|
|
|
1450
1468
|
],
|
|
1451
1469
|
"type": "array",
|
|
1452
1470
|
"items": {
|
|
1453
|
-
"type":
|
|
1454
|
-
"string"
|
|
1455
|
-
]
|
|
1471
|
+
"type": "string"
|
|
1456
1472
|
}
|
|
1457
1473
|
}
|
|
1458
1474
|
},
|
|
@@ -1488,7 +1504,7 @@
|
|
|
1488
1504
|
"base": "/",
|
|
1489
1505
|
"root": "/<rootDir>",
|
|
1490
1506
|
"mode": "production",
|
|
1491
|
-
"logLevel": "
|
|
1507
|
+
"logLevel": "info",
|
|
1492
1508
|
"define": {
|
|
1493
1509
|
"process.dev": false
|
|
1494
1510
|
},
|
|
@@ -1606,22 +1622,28 @@
|
|
|
1606
1622
|
"id": "#webpack/filenames",
|
|
1607
1623
|
"properties": {
|
|
1608
1624
|
"app": {
|
|
1609
|
-
"type": "function"
|
|
1625
|
+
"type": "function",
|
|
1626
|
+
"id": "#webpack/filenames/app"
|
|
1610
1627
|
},
|
|
1611
1628
|
"chunk": {
|
|
1612
|
-
"type": "function"
|
|
1629
|
+
"type": "function",
|
|
1630
|
+
"id": "#webpack/filenames/chunk"
|
|
1613
1631
|
},
|
|
1614
1632
|
"css": {
|
|
1615
|
-
"type": "function"
|
|
1633
|
+
"type": "function",
|
|
1634
|
+
"id": "#webpack/filenames/css"
|
|
1616
1635
|
},
|
|
1617
1636
|
"img": {
|
|
1618
|
-
"type": "function"
|
|
1637
|
+
"type": "function",
|
|
1638
|
+
"id": "#webpack/filenames/img"
|
|
1619
1639
|
},
|
|
1620
1640
|
"font": {
|
|
1621
|
-
"type": "function"
|
|
1641
|
+
"type": "function",
|
|
1642
|
+
"id": "#webpack/filenames/font"
|
|
1622
1643
|
},
|
|
1623
1644
|
"video": {
|
|
1624
|
-
"type": "function"
|
|
1645
|
+
"type": "function",
|
|
1646
|
+
"id": "#webpack/filenames/video"
|
|
1625
1647
|
}
|
|
1626
1648
|
},
|
|
1627
1649
|
"default": {},
|
|
@@ -1638,6 +1660,7 @@
|
|
|
1638
1660
|
"properties": {
|
|
1639
1661
|
"esModule": {
|
|
1640
1662
|
"type": "boolean",
|
|
1663
|
+
"id": "#webpack/loaders/file/esModule",
|
|
1641
1664
|
"default": false
|
|
1642
1665
|
}
|
|
1643
1666
|
},
|
|
@@ -1651,10 +1674,12 @@
|
|
|
1651
1674
|
"properties": {
|
|
1652
1675
|
"esModule": {
|
|
1653
1676
|
"type": "boolean",
|
|
1677
|
+
"id": "#webpack/loaders/fontUrl/esModule",
|
|
1654
1678
|
"default": false
|
|
1655
1679
|
},
|
|
1656
1680
|
"limit": {
|
|
1657
1681
|
"type": "number",
|
|
1682
|
+
"id": "#webpack/loaders/fontUrl/limit",
|
|
1658
1683
|
"default": 1000
|
|
1659
1684
|
}
|
|
1660
1685
|
},
|
|
@@ -1669,10 +1694,12 @@
|
|
|
1669
1694
|
"properties": {
|
|
1670
1695
|
"esModule": {
|
|
1671
1696
|
"type": "boolean",
|
|
1697
|
+
"id": "#webpack/loaders/imgUrl/esModule",
|
|
1672
1698
|
"default": false
|
|
1673
1699
|
},
|
|
1674
1700
|
"limit": {
|
|
1675
1701
|
"type": "number",
|
|
1702
|
+
"id": "#webpack/loaders/imgUrl/limit",
|
|
1676
1703
|
"default": 1000
|
|
1677
1704
|
}
|
|
1678
1705
|
},
|
|
@@ -1700,18 +1727,22 @@
|
|
|
1700
1727
|
"properties": {
|
|
1701
1728
|
"video": {
|
|
1702
1729
|
"type": "string",
|
|
1730
|
+
"id": "#webpack/loaders/kdu/transformAssetUrls/video",
|
|
1703
1731
|
"default": "src"
|
|
1704
1732
|
},
|
|
1705
1733
|
"source": {
|
|
1706
1734
|
"type": "string",
|
|
1735
|
+
"id": "#webpack/loaders/kdu/transformAssetUrls/source",
|
|
1707
1736
|
"default": "src"
|
|
1708
1737
|
},
|
|
1709
1738
|
"object": {
|
|
1710
1739
|
"type": "string",
|
|
1740
|
+
"id": "#webpack/loaders/kdu/transformAssetUrls/object",
|
|
1711
1741
|
"default": "src"
|
|
1712
1742
|
},
|
|
1713
1743
|
"embed": {
|
|
1714
1744
|
"type": "string",
|
|
1745
|
+
"id": "#webpack/loaders/kdu/transformAssetUrls/embed",
|
|
1715
1746
|
"default": "src"
|
|
1716
1747
|
}
|
|
1717
1748
|
},
|
|
@@ -1746,13 +1777,15 @@
|
|
|
1746
1777
|
"properties": {
|
|
1747
1778
|
"importLoaders": {
|
|
1748
1779
|
"type": "number",
|
|
1780
|
+
"id": "#webpack/loaders/css/importLoaders",
|
|
1749
1781
|
"default": 0
|
|
1750
1782
|
},
|
|
1751
1783
|
"url": {
|
|
1752
1784
|
"id": "#webpack/loaders/css/url",
|
|
1753
1785
|
"properties": {
|
|
1754
1786
|
"filter": {
|
|
1755
|
-
"type": "function"
|
|
1787
|
+
"type": "function",
|
|
1788
|
+
"id": "#webpack/loaders/css/url/filter"
|
|
1756
1789
|
}
|
|
1757
1790
|
},
|
|
1758
1791
|
"default": {},
|
|
@@ -1760,6 +1793,7 @@
|
|
|
1760
1793
|
},
|
|
1761
1794
|
"esModule": {
|
|
1762
1795
|
"type": "boolean",
|
|
1796
|
+
"id": "#webpack/loaders/css/esModule",
|
|
1763
1797
|
"default": false
|
|
1764
1798
|
}
|
|
1765
1799
|
},
|
|
@@ -1776,13 +1810,15 @@
|
|
|
1776
1810
|
"properties": {
|
|
1777
1811
|
"importLoaders": {
|
|
1778
1812
|
"type": "number",
|
|
1813
|
+
"id": "#webpack/loaders/cssModules/importLoaders",
|
|
1779
1814
|
"default": 0
|
|
1780
1815
|
},
|
|
1781
1816
|
"url": {
|
|
1782
1817
|
"id": "#webpack/loaders/cssModules/url",
|
|
1783
1818
|
"properties": {
|
|
1784
1819
|
"filter": {
|
|
1785
|
-
"type": "function"
|
|
1820
|
+
"type": "function",
|
|
1821
|
+
"id": "#webpack/loaders/cssModules/url/filter"
|
|
1786
1822
|
}
|
|
1787
1823
|
},
|
|
1788
1824
|
"default": {},
|
|
@@ -1790,6 +1826,7 @@
|
|
|
1790
1826
|
},
|
|
1791
1827
|
"esModule": {
|
|
1792
1828
|
"type": "boolean",
|
|
1829
|
+
"id": "#webpack/loaders/cssModules/esModule",
|
|
1793
1830
|
"default": false
|
|
1794
1831
|
},
|
|
1795
1832
|
"modules": {
|
|
@@ -1797,6 +1834,7 @@
|
|
|
1797
1834
|
"properties": {
|
|
1798
1835
|
"localIdentName": {
|
|
1799
1836
|
"type": "string",
|
|
1837
|
+
"id": "#webpack/loaders/cssModules/modules/localIdentName",
|
|
1800
1838
|
"default": "[local]_[hash:base64:5]"
|
|
1801
1839
|
}
|
|
1802
1840
|
},
|
|
@@ -1832,6 +1870,7 @@
|
|
|
1832
1870
|
"properties": {
|
|
1833
1871
|
"indentedSyntax": {
|
|
1834
1872
|
"type": "boolean",
|
|
1873
|
+
"id": "#webpack/loaders/sass/sassOptions/indentedSyntax",
|
|
1835
1874
|
"default": true
|
|
1836
1875
|
}
|
|
1837
1876
|
},
|
|
@@ -1986,6 +2025,7 @@
|
|
|
1986
2025
|
"properties": {
|
|
1987
2026
|
"runtimeChunk": {
|
|
1988
2027
|
"type": "string",
|
|
2028
|
+
"id": "#webpack/optimization/runtimeChunk",
|
|
1989
2029
|
"default": "single"
|
|
1990
2030
|
},
|
|
1991
2031
|
"minimize": {
|
|
@@ -2009,10 +2049,12 @@
|
|
|
2009
2049
|
"properties": {
|
|
2010
2050
|
"chunks": {
|
|
2011
2051
|
"type": "string",
|
|
2052
|
+
"id": "#webpack/optimization/splitChunks/chunks",
|
|
2012
2053
|
"default": "all"
|
|
2013
2054
|
},
|
|
2014
2055
|
"automaticNameDelimiter": {
|
|
2015
2056
|
"type": "string",
|
|
2057
|
+
"id": "#webpack/optimization/splitChunks/automaticNameDelimiter",
|
|
2016
2058
|
"default": "/"
|
|
2017
2059
|
},
|
|
2018
2060
|
"cacheGroups": {
|
|
@@ -2047,14 +2089,16 @@
|
|
|
2047
2089
|
"tags": [],
|
|
2048
2090
|
"id": "#webpack/postcss",
|
|
2049
2091
|
"properties": {
|
|
2050
|
-
"execute": {
|
|
2092
|
+
"execute": {
|
|
2093
|
+
"id": "#webpack/postcss/execute"
|
|
2094
|
+
},
|
|
2051
2095
|
"postcssOptions": {
|
|
2052
2096
|
"id": "#webpack/postcss/postcssOptions",
|
|
2053
2097
|
"properties": {
|
|
2054
2098
|
"config": {
|
|
2055
2099
|
"id": "#webpack/postcss/postcssOptions/config",
|
|
2056
|
-
"default":
|
|
2057
|
-
"type": "
|
|
2100
|
+
"default": {},
|
|
2101
|
+
"type": "any"
|
|
2058
2102
|
},
|
|
2059
2103
|
"plugins": {
|
|
2060
2104
|
"id": "#webpack/postcss/postcssOptions/plugins",
|
|
@@ -2068,7 +2112,7 @@
|
|
|
2068
2112
|
}
|
|
2069
2113
|
},
|
|
2070
2114
|
"default": {
|
|
2071
|
-
"config":
|
|
2115
|
+
"config": {},
|
|
2072
2116
|
"plugins": {
|
|
2073
2117
|
"postcss-import": {},
|
|
2074
2118
|
"postcss-url": {},
|
|
@@ -2078,16 +2122,21 @@
|
|
|
2078
2122
|
},
|
|
2079
2123
|
"type": "object"
|
|
2080
2124
|
},
|
|
2081
|
-
"sourceMap": {
|
|
2082
|
-
|
|
2125
|
+
"sourceMap": {
|
|
2126
|
+
"id": "#webpack/postcss/sourceMap"
|
|
2127
|
+
},
|
|
2128
|
+
"implementation": {
|
|
2129
|
+
"id": "#webpack/postcss/implementation"
|
|
2130
|
+
},
|
|
2083
2131
|
"order": {
|
|
2084
2132
|
"type": "string",
|
|
2133
|
+
"id": "#webpack/postcss/order",
|
|
2085
2134
|
"default": ""
|
|
2086
2135
|
}
|
|
2087
2136
|
},
|
|
2088
2137
|
"default": {
|
|
2089
2138
|
"postcssOptions": {
|
|
2090
|
-
"config":
|
|
2139
|
+
"config": {},
|
|
2091
2140
|
"plugins": {
|
|
2092
2141
|
"postcss-import": {},
|
|
2093
2142
|
"postcss-url": {},
|
|
@@ -2109,6 +2158,7 @@
|
|
|
2109
2158
|
"properties": {
|
|
2110
2159
|
"stats": {
|
|
2111
2160
|
"type": "string",
|
|
2161
|
+
"id": "#webpack/devMiddleware/stats",
|
|
2112
2162
|
"default": "none"
|
|
2113
2163
|
}
|
|
2114
2164
|
},
|
|
@@ -2229,7 +2279,7 @@
|
|
|
2229
2279
|
},
|
|
2230
2280
|
"postcss": {
|
|
2231
2281
|
"postcssOptions": {
|
|
2232
|
-
"config":
|
|
2282
|
+
"config": {},
|
|
2233
2283
|
"plugins": {
|
|
2234
2284
|
"postcss-import": {},
|
|
2235
2285
|
"postcss-url": {},
|
|
@@ -2389,7 +2439,9 @@
|
|
|
2389
2439
|
"noScripts": false,
|
|
2390
2440
|
"payloadExtraction": false,
|
|
2391
2441
|
"crossOriginPrefetch": false,
|
|
2392
|
-
"writeEarlyHints": false
|
|
2442
|
+
"writeEarlyHints": false,
|
|
2443
|
+
"componentIslands": false,
|
|
2444
|
+
"configSchema": false
|
|
2393
2445
|
},
|
|
2394
2446
|
"generate": {
|
|
2395
2447
|
"routes": [],
|
|
@@ -2415,7 +2467,6 @@
|
|
|
2415
2467
|
"serverHandlers": [],
|
|
2416
2468
|
"devServerHandlers": [],
|
|
2417
2469
|
"postcss": {
|
|
2418
|
-
"config": false,
|
|
2419
2470
|
"plugins": {
|
|
2420
2471
|
"postcss-import": {},
|
|
2421
2472
|
"postcss-url": {},
|
|
@@ -2437,7 +2488,7 @@
|
|
|
2437
2488
|
"base": "/",
|
|
2438
2489
|
"root": "/<rootDir>",
|
|
2439
2490
|
"mode": "production",
|
|
2440
|
-
"logLevel": "
|
|
2491
|
+
"logLevel": "info",
|
|
2441
2492
|
"define": {
|
|
2442
2493
|
"process.dev": false
|
|
2443
2494
|
},
|
|
@@ -2567,7 +2618,7 @@
|
|
|
2567
2618
|
},
|
|
2568
2619
|
"postcss": {
|
|
2569
2620
|
"postcssOptions": {
|
|
2570
|
-
"config":
|
|
2621
|
+
"config": {},
|
|
2571
2622
|
"plugins": {
|
|
2572
2623
|
"postcss-import": {},
|
|
2573
2624
|
"postcss-url": {},
|