1 | {
|
2 | "title": "PostCSS Loader options",
|
3 | "type": "object",
|
4 | "properties": {
|
5 | "postcssOptions": {
|
6 | "description": "Options to pass through to `Postcss`.",
|
7 | "link": "https://github.com/webpack-contrib/postcss-loader#postcssOptions",
|
8 | "anyOf": [
|
9 | {
|
10 | "type": "object",
|
11 | "additionalProperties": true,
|
12 | "properties": {
|
13 | "config": {
|
14 | "description": "Allows to specify PostCSS config path.",
|
15 | "link": "https://github.com/webpack-contrib/postcss-loader#config",
|
16 | "anyOf": [
|
17 | {
|
18 | "description": "Allows to specify the path to the configuration file",
|
19 | "type": "string"
|
20 | },
|
21 | {
|
22 | "description": "Enables/Disables autoloading config",
|
23 | "type": "boolean"
|
24 | }
|
25 | ]
|
26 | }
|
27 | }
|
28 | },
|
29 | {
|
30 | "instanceof": "Function"
|
31 | }
|
32 | ]
|
33 | },
|
34 | "execute": {
|
35 | "description": "Enables/Disables PostCSS parser support in 'CSS-in-JS'.",
|
36 | "link": "https://github.com/webpack-contrib/postcss-loader#execute",
|
37 | "type": "boolean"
|
38 | },
|
39 | "sourceMap": {
|
40 | "description": "Enables/Disables generation of source maps.",
|
41 | "link": "https://github.com/webpack-contrib/postcss-loader#sourcemap",
|
42 | "type": "boolean"
|
43 | },
|
44 | "implementation": {
|
45 | "description": "The implementation of postcss to use, instead of the locally installed version",
|
46 | "link": "https://github.com/webpack-contrib/postcss-loader#implementation",
|
47 | "anyOf": [
|
48 | {
|
49 | "type": "string"
|
50 | },
|
51 | {
|
52 | "instanceof": "Function"
|
53 | }
|
54 | ]
|
55 | }
|
56 | },
|
57 | "additionalProperties": false
|
58 | }
|