123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- {
- "additionalProperties": false,
- "properties": {
- "url": {
- "description": "Enables/Disables 'url'/'image-set' functions handling (https://github.com/webpack-contrib/css-loader#url).",
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "instanceof": "Function"
- }
- ]
- },
- "import": {
- "description": "Enables/Disables '@import' at-rules handling (https://github.com/webpack-contrib/css-loader#import).",
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "instanceof": "Function"
- }
- ]
- },
- "modules": {
- "description": "Enables/Disables CSS Modules and their configuration (https://github.com/webpack-contrib/css-loader#modules).",
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "enum": ["local", "global", "pure"]
- },
- {
- "type": "object",
- "additionalProperties": false,
- "properties": {
- "compileType": {
- "description": "Controls the extent to which css-loader will process module code (https://github.com/webpack-contrib/css-loader#type)",
- "enum": ["module", "icss"]
- },
- "auto": {
- "description": "Allows auto enable CSS modules based on filename (https://github.com/webpack-contrib/css-loader#auto).",
- "anyOf": [
- {
- "instanceof": "RegExp"
- },
- {
- "instanceof": "Function"
- },
- {
- "type": "boolean"
- }
- ]
- },
- "mode": {
- "description": "Setup `mode` option (https://github.com/webpack-contrib/css-loader#mode).",
- "anyOf": [
- {
- "enum": ["local", "global", "pure"]
- },
- {
- "instanceof": "Function"
- }
- ]
- },
- "localIdentName": {
- "description": "Allows to configure the generated local ident name (https://github.com/webpack-contrib/css-loader#localidentname).",
- "type": "string",
- "minLength": 1
- },
- "localIdentContext": {
- "description": "Allows to redefine basic loader context for local ident name (https://github.com/webpack-contrib/css-loader#localidentcontext).",
- "type": "string",
- "minLength": 1
- },
- "localIdentHashPrefix": {
- "description": "Allows to add custom hash to generate more unique classes (https://github.com/webpack-contrib/css-loader#localidenthashprefix).",
- "type": "string",
- "minLength": 1
- },
- "localIdentRegExp": {
- "description": "Allows to specify custom RegExp for local ident name (https://github.com/webpack-contrib/css-loader#localidentregexp).",
- "anyOf": [
- {
- "type": "string",
- "minLength": 1
- },
- {
- "instanceof": "RegExp"
- }
- ]
- },
- "getLocalIdent": {
- "description": "Allows to specify a function to generate the classname (https://github.com/webpack-contrib/css-loader#getlocalident).",
- "instanceof": "Function"
- },
- "namedExport": {
- "description": "Enables/disables ES modules named export for locals (https://github.com/webpack-contrib/css-loader#namedexport).",
- "type": "boolean"
- },
- "exportGlobals": {
- "description": "Allows to export names from global class or id, so you can use that as local name (https://github.com/webpack-contrib/css-loader#exportglobals).",
- "type": "boolean"
- },
- "exportLocalsConvention": {
- "description": "Style of exported classnames (https://github.com/webpack-contrib/css-loader#localsconvention).",
- "enum": [
- "asIs",
- "camelCase",
- "camelCaseOnly",
- "dashes",
- "dashesOnly"
- ]
- },
- "exportOnlyLocals": {
- "description": "Export only locals (https://github.com/webpack-contrib/css-loader#exportonlylocals).",
- "type": "boolean"
- }
- }
- }
- ]
- },
- "icss": {
- "description": "Enables/Disables handling the CSS module interoperable import/export format ((https://github.com/webpack-contrib/css-loader#icss)",
- "type": "boolean"
- },
- "sourceMap": {
- "description": "Enables/Disables generation of source maps (https://github.com/webpack-contrib/css-loader#sourcemap).",
- "type": "boolean"
- },
- "importLoaders": {
- "description": "Enables/Disables or setups number of loaders applied before CSS loader (https://github.com/webpack-contrib/css-loader#importloaders).",
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "string"
- },
- {
- "type": "integer"
- }
- ]
- },
- "esModule": {
- "description": "Use the ES modules syntax (https://github.com/webpack-contrib/css-loader#esmodule).",
- "type": "boolean"
- }
- },
- "type": "object"
- }
|