UNPKG

@dr.pogodin/babel-plugin-react-css-modules

Version:

Transforms styleName to className using compile time CSS module resolution.

92 lines (91 loc) 1.77 kB
{ "additionalProperties": false, "properties": { "context": { "type": "string" }, "exclude": { "type": "string" }, "filetypes": { "additionalProperties": false, "patternProperties": { "\\..*": { "additionalProperties": false, "properties": { "plugins": { "items": { "oneOf": [ { "type": "string" }, { "type": "array" } ] }, "type": "array" }, "syntax": { "type": "string" } }, "type": "object" } }, "type": "object" }, "generateScopedName": { "oneOf": [ { "type": "string" }, { "instanceof": "Function" } ] }, "transform": { "instanceof": "Function" }, "removeImport": { "type": "boolean" }, "replaceImport": { "type": "boolean" }, "webpackHotModuleReloading": { "oneOf": [{ "type": "boolean" }, { "enum": ["commonjs"] }] }, "handleMissingStyleName": { "enum": ["throw", "warn", "ignore"] }, "attributeNames": { "additionalProperties": false, "patternProperties": { ".*": { "oneOf": [ { "type": "string" }, { "type": "null" } ] } }, "type": "object" }, "skip": { "type": "boolean" }, "autoResolveMultipleImports": { "type": "boolean" } }, "type": "object" }